Repository navigation
0.11.0 #70
voidrunner3074
announced in
Announcements
0.11.0
#70
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Added
http2: auto | on | offongateway.serverand per-upstreamtransport.auto(the default)is exactly today's behavior: HTTP/2 negotiated over TLS, HTTP/1.1 otherwise - existing configs
are unaffected.
offpins either side to HTTP/1.1 even when TLS is on - the escape hatch for abackend with a flaky HTTP/2 stack, or a quick killswitch on the data port (e.g. for HTTP/2 Rapid
Reset-style concerns) without touching TLS config.
onrequirestls.enabledat the same scopeotherwise.
Changed
http.Transport.Protocolsinstead of thedeprecated
golang.org/x/net/http2.ConfigureTransport, dropping the direct dependency ongolang.org/x/net(now indirect-only, pulled in transitively). Not user-facing by itself -http2: autobehaves exactly as before - but it's what made the explicit on/off knob abovestraightforward to add on the client side; the data port gets the equivalent treatment via the
same
http.Server.Protocolsfield.This discussion was created from the release 0.11.0.
All reactions