skipper
skipper copied to clipboard
Adds h2c support
Enables HTTP/2 connections over cleartext TCP with Prior Knowledge (RFC 7540 3.4).
The implementation is based on the golang.org/x/net/http2/h2c and workarounds several issues:
- https://github.com/golang/go/issues/38064
- https://github.com/golang/go/issues/26682
See h2c package docs for details.
Signed-off-by: Alexander Yastrebov [email protected]
:+1:
From my side great first step to support h2c as a server handler!
From my side great first step to support h2c as a server handler!
any update about h2c ?
@tsingson I think we should wait for https://github.com/golang/net/pull/139 being merged and released, if not it's not reasonable to have h2c support in Go.
@tsingson I think we should wait for golang/net#139 being merged and released, if not it's not reasonable to have h2c support in Go.
thanks for update.
https://go-review.googlesource.com/c/net/+/419181
good news.
- https://github.com/golang/go/issues/52882 solves upgrade requests with body so now h2c properly supports both prior knowledge and connection upgrade.
- https://github.com/golang/net/pull/139 propagates http.Server instance and therefore various timeouts
- The problem of graceful shutdown is not solved yet (https://github.com/golang/go/issues/26682)
Closing in favour of #2480