-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: documentation for interaction between http2 imported and http pkgs. #16412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
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: