Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setting just servername to :authority pseudo header in client when us…
…ing tls. HTTP/2(RFC7540) defines :authority pseudo header includes the authority portion of target URI but it must not include userinfo part (i.e. url.Host). However, when TLS certificate specified, grpc-go requires it must match with its servername specified for certificate validation.
- Loading branch information
Showing
1 changed file
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters