net/http: documentation for interaction between http2 imported and http pkgs. #16412
Comments
Any kind of one sentence answer here before documentation is worked on would be highly valued if anyone has the time |
If you import golang.org/x/net/http2 and use it to register the client or server, the (presumably newer) http2 package you imported wins. The bundled copy is only used as a default. |
Much appreciated, but which in the example above is doing the "registering"? |
http2.ConfigureServer |
thanks !! |
CL https://golang.org/cl/33110 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Just requesting some documentation for the case when someone does something like
and has therefore vendored in the http2 package. How does this interact with the bundled http2 in the http package?
The text was updated successfully, but these errors were encountered: