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

Overriding NextProtos can interfere with Application-Layer Protocol Negotiation or ALPN #95

Open
jmacelroy opened this issue Oct 5, 2021 · 0 comments

Comments

@jmacelroy
Copy link

If a server, such as grpc, is trying to set an app protocol and uses this lib for the socket then it will be overridden by

tlsConfig.NextProtos = []string{"http/1.1"}
.

This was probably unnoticed until go 1.17 when enforcement became strict https://golang.org/doc/go1.17#ALPN

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

No branches or pull requests

1 participant