Skip to content

use first value of override_auto_sni_header #39618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 28, 2025

Conversation

wbpcode
Copy link
Member

@wbpcode wbpcode commented May 24, 2025

Commit Message: use first value of override_auto_sni_header
Additional Description:

Tht getAll* will concat multiple header values with , and make the output value actually isn't legal fqdn. This PR changed it to use the first header value of override_auto_sni_header just like the auto_host_rewrite_header did.

Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

wbpcode added 2 commits May 24, 2025 08:26
Signed-off-by: wangbaiping(wbpcode) <[email protected]>
Signed-off-by: wangbaiping(wbpcode) <[email protected]>
agrawroh
agrawroh previously approved these changes May 24, 2025
Copy link
Contributor

@agrawroh agrawroh left a comment

Choose a reason for hiding this comment

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

LGTM, Thank You!

@wbpcode
Copy link
Member Author

wbpcode commented May 24, 2025

/assign-from @envoyproxy/senior-maintainers

This is core code change and require another approval from senior maintainer

Copy link

@envoyproxy/senior-maintainers assignee is @RyanTheOptimist

🐱

Caused by: a #39618 (comment) was created by @wbpcode.

see: more, trace.

Copy link
Contributor

@RyanTheOptimist RyanTheOptimist left a comment

Choose a reason for hiding this comment

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

Should we consider adding some logging when there are multiple values, since the others will be ignored?

@wbpcode
Copy link
Member Author

wbpcode commented May 27, 2025

Should we consider adding some logging when there are multiple values, since the others will be ignored?

SGTM.

Signed-off-by: wangbaiping(wbpcode) <[email protected]>
@wbpcode wbpcode dismissed stale reviews from RyanTheOptimist and agrawroh via 9b57e8b May 27, 2025 16:43
@wbpcode
Copy link
Member Author

wbpcode commented May 27, 2025

Should we consider adding some logging when there are multiple values, since the others will be ignored?

SGTM.

done.

@wbpcode wbpcode enabled auto-merge (squash) May 27, 2025 16:45
@wbpcode
Copy link
Member Author

wbpcode commented May 28, 2025

/retest

1 similar comment
@wbpcode
Copy link
Member Author

wbpcode commented May 28, 2025

/retest

@wbpcode wbpcode merged commit 183f646 into envoyproxy:main May 28, 2025
25 checks passed
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.

3 participants