Skip to content

http: added support for %REQUESTED_SERVER_NAME% to extract SNI as a custom header (Fixes #19024)#19038

Merged
lizan merged 5 commits intoenvoyproxy:mainfrom
agrawroh:add-req-server-name-header
Nov 18, 2021
Merged

http: added support for %REQUESTED_SERVER_NAME% to extract SNI as a custom header (Fixes #19024)#19038
lizan merged 5 commits intoenvoyproxy:mainfrom
agrawroh:add-req-server-name-header

Conversation

@agrawroh
Copy link
Copy Markdown
Member

@agrawroh agrawroh commented Nov 18, 2021

This PR adds a new command operator in the header formatter called %REQUESTED_SERVER_NAME% which can be used to extract the SNI information from the stream and set it as a custom header.

Commit Message: Added support for %REQUESTED_SERVER_NAME% to extract the SNI as a custom header.
Additional Description: Adds a new command operator called %REQUESTED_SERVER_NAME% in the http header formatter which can be used to extract the SNI information from the stream and set it as a custom header.
Risk Level: Low
Testing: Unit Tests
Docs Changes: Added description on %REQUESTED_SERVER_NAME% in the docs.
Release Notes: Added
Platform Specific Features: N/A

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

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

/assign

@repokitteh-read-only
Copy link
Copy Markdown

agrawroh is not allowed to assign users.

🐱

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

see: more, trace.

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
@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 #19038 (comment) was created by @agrawroh.

see: more, trace.

@rojkov
Copy link
Copy Markdown
Member

rojkov commented Nov 18, 2021

/assign-from @envoyproxy/first-pass-reviewers

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/first-pass-reviewers assignee is @KBaichoo

🐱

Caused by: a #19038 (comment) was created by @rojkov.

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 #19038 (comment) was created by @agrawroh.

see: more, trace.

Copy link
Copy Markdown
Contributor

@KBaichoo KBaichoo left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution! lgtm otherwise

@agrawroh agrawroh requested a review from KBaichoo November 18, 2021 16:31
KBaichoo
KBaichoo previously approved these changes Nov 18, 2021
Copy link
Copy Markdown
Contributor

@KBaichoo KBaichoo left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@rojkov can you assign or review this as maintainer on call? Thanks

Copy link
Copy Markdown
Member

@lizan lizan left a comment

Choose a reason for hiding this comment

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

LGTM, just style nits.

Signed-off-by: Rohit Agrawal <rohit.agrawal@databricks.com>
@lizan lizan enabled auto-merge (squash) November 18, 2021 21:24
@lizan lizan merged commit 5c03ee0 into envoyproxy:main Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants