Skip to content

grpc-js: Fix ability to set SNI with ssl_target_name_override option#2956

Merged
murgatroid99 merged 1 commit intogrpc:@grpc/grpc-js@1.13.xfrom
murgatroid99:grpc-js_sni_fix
May 21, 2025
Merged

grpc-js: Fix ability to set SNI with ssl_target_name_override option#2956
murgatroid99 merged 1 commit intogrpc:@grpc/grpc-js@1.13.xfrom
murgatroid99:grpc-js_sni_fix

Conversation

@murgatroid99
Copy link
Member

This fixes #2955 (I think). The logic to set SNI from the proxy connection target was implemented twice, and the second one was overriding the setting from the ssl_target_name_override option. This change fixes that by removing the duplicate logic and rearranging the rest.

@murgatroid99 murgatroid99 merged commit 7729fb7 into grpc:@grpc/grpc-js@1.13.x May 21, 2025
3 of 5 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.

2 participants