ngrok / ngrok-go

Embed ngrok secure ingress into your Go apps as a net.Listener with a single line of code.
MIT License
667 stars 64 forks source link

ngrok: negotiate http/2 with tls backends if the http2 AppProtocol is requested #144

Closed jrobsonchase closed 9 months ago

jrobsonchase commented 9 months ago

Most https backends will only expect http/2 if it's in the ALPN extension to the TLS handshake. Therefore, if we send them http/2 without making them aware of it, bad things will happen.

jrobsonchase commented 9 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.