Skip to content

router: Added alt_header_name to set an arbitrary header for populating SNI#17995

Merged
ggreenway merged 8 commits intoenvoyproxy:mainfrom
agrawroh:alt_sni_header
Sep 14, 2021
Merged

router: Added alt_header_name to set an arbitrary header for populating SNI#17995
ggreenway merged 8 commits intoenvoyproxy:mainfrom
agrawroh:alt_sni_header

Conversation

@agrawroh
Copy link
Copy Markdown
Member

@agrawroh agrawroh commented Sep 6, 2021

This PR adds a new optional param called override_auto_sni_header in UpstreamHttpProtocolOptions which can be used to populate the SNI value from an arbitrary header other than Host/Authority.

We have a use-case to use a different header for setting the SNI while sending requests to the upstream clusters and it's currently not possible.

Commit Message: added an optional override_auto_sni_header to set an arbitrary header for populating SNI.
Additional Description: Adds a new optional param called override_auto_sni_header which can be used to populate the SNI value from an arbitrary header other than Host/Authority.
Risk Level: Low
Testing: Unit Tests, Integration Tests
Docs Changes: Added description on override_auto_sni_header in the Docs.
Release Notes: Added
Platform Specific Features: N/A

Signed-off-by: Rohit Agrawal rohit.agrawal@databricks.com

@repokitteh-read-only
Copy link
Copy Markdown

Hi @agrawroh, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #17995 was opened by agrawroh.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy[\w/]*/(v1alpha\d?|v1|v2alpha\d?|v2))|(api/envoy/type/(matcher/)?\w+.proto).
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #17995 was opened by agrawroh.

see: more, trace.

Copy link
Copy Markdown
Member

@Shikugawa Shikugawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM with minor comments.

Shikugawa
Shikugawa previously approved these changes Sep 7, 2021
Copy link
Copy Markdown
Member

@Shikugawa Shikugawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Take over @envoyproxy/envoy-maintainers

@zuercher
Copy link
Copy Markdown
Member

zuercher commented Sep 7, 2021

/assign @envoyproxy/api-shepherds

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/api-shepherds cannot be assigned to this issue.

🐱

Caused by: a #17995 (comment) was created by @zuercher.

see: more, trace.

@zuercher
Copy link
Copy Markdown
Member

zuercher commented Sep 7, 2021

/assign-from @envoyproxy/api-shepherds

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/api-shepherds assignee is @markdroth

🐱

Caused by: a #17995 (comment) was created by @zuercher.

see: more, trace.

@markdroth
Copy link
Copy Markdown
Contributor

/lgtm api

@repokitteh-read-only repokitteh-read-only bot removed the api label Sep 8, 2021
@Shikugawa
Copy link
Copy Markdown
Member

/assign-from @envoyproxy/envoy-maintainers

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/envoy-maintainers assignee is @ggreenway

🐱

Caused by: a #17995 (comment) was created by @Shikugawa.

see: more, trace.

soulxu
soulxu previously approved these changes Sep 10, 2021
Copy link
Copy Markdown
Member

@soulxu soulxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
@agrawroh
Copy link
Copy Markdown
Member Author

@ggreenway Would you please take another look whenever you get some free time?

lizan
lizan previously approved these changes Sep 10, 2021
Copy link
Copy Markdown
Member

@ggreenway ggreenway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ggreenway
Copy link
Copy Markdown
Member

/wait

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
ggreenway
ggreenway previously approved these changes Sep 13, 2021
@agrawroh agrawroh requested a review from lizan September 13, 2021 16:17
@agrawroh
Copy link
Copy Markdown
Member Author

agrawroh commented Sep 13, 2021

@ggreenway @markdroth @lizan There were merge conflicts in one file so I had to rebase. Could you please kick-off the CI workflow again and also leave an LGTM?

@agrawroh
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit isn't fully completed, but will still attempt retrying.
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17995 (comment) was created by @agrawroh.

see: more, trace.

@agrawroh
Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17995 (comment) was created by @agrawroh.

see: more, trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants