x/net/http2: allow http scheme for http2 #15830
Closed
Labels
Comments
CL https://golang.org/cl/23181 mentions this issue. |
c3mb0
pushed a commit
to c3mb0/net
that referenced
this issue
Apr 2, 2018
The existing transport implementation limit scheme to https, so simple h2c can not be used, if we loose the limit to http scheme, it works well with existing h2c server support. Fixes golang/go#15830 Change-Id: Icfe65d72b3e6fb41f69019539fb5b86144814378 Reviewed-on: https://go-review.googlesource.com/23181 Reviewed-by: Andrew Gerrand <adg@golang.org> Run-TryBot: Andrew Gerrand <adg@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Previous discussion: #14141
I'm working on a RPC system like gRPC, so we need simple h2c without upgrade request while assuming both client and server support h2c only.
Existing http2 code already has the ability to support this, only https scheme limitation should be loosen.
The text was updated successfully, but these errors were encountered: