Skip to content
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

Setting just servername to :authority pseudo header in client when using TLS. #2518

Merged
merged 1 commit into from Dec 11, 2021

Commits on Dec 10, 2021

  1. 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.
    
    Signed-off-by: Shingo Omura <everpeace@gmail.com>
    everpeace committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    ccbf7f3 View commit details
    Browse the repository at this point in the history