You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 17, 2019. It is now read-only.
I have another selfish reason for that. I've built a connection multiplexer that sniffs connections to multiplex them. Using that, I can run net/rpc, gRPC, and HTTP1.1 on the same port. However, I can't do that for HTTP2 because I have to wrap the actual connection in a cmux connection. So, the "fake" connection is not a *tls.Conn and TLSNextProto handlers would never be called for HTTP2 flows.
Would you please consider exporting this method?
Just in case, I confirm that using the snippet above I can serve h2 (i.e., chrome) and gRPC/TLS traffic on the same port.