Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jul 24, 2019

Motivation:

TLS does not work if a hostname override was not provided and hostname
verification is enabled as only the override was provided to the
NIOSSLClientHandler.

Modifications:

Provide the SSL handler with the override, if one is provided, or the
hostname otherwise.

Result:

Fewer TLS failures.

Motivation:

TLS does not work if a hostname override was not provided and hostname
verification is enabled as only the override was provided to the
NIOSSLClientHandler.

Modifications:

Provide the SSL handler with the override, if one is provided, or the
hostname otherwise.

Result:

Fewer TLS failures.
@MrMage
Copy link
Collaborator

MrMage commented Jul 24, 2019

Do we need tests for this? (Just asking.)

@glbrntt
Copy link
Collaborator Author

glbrntt commented Jul 24, 2019

@MrMage we probably should add tests here, yes.

@MrMage MrMage merged commit c78d228 into grpc:nio Jul 25, 2019
@glbrntt glbrntt deleted the hostname-override branch July 25, 2019 17:18
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