mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
nextStreamID was used as a means to determine if the connection was being reused. Multiple requests can see a new connection because the nextStreamID is updated after a ClientTrace reports it is being reused. Updates golang/go#31982 Change-Id: Iaa4b62b217f015423cddb99fd86de75a352f8320 Reviewed-on: https://go-review.googlesource.com/c/net/+/176720 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This is a work-in-progress HTTP/2 implementation for Go. It will eventually live in the Go standard library and won't require any changes to your code to use. It will just be automatic. Status: * The server support is pretty good. A few things are missing but are being worked on. * The client work has just started but shares a lot of code is coming along much quicker. Docs are at https://godoc.org/golang.org/x/net/http2 Demo test server at https://http2.golang.org/ Help & bug reports welcome! Contributing: https://golang.org/doc/contribute.html Bugs: https://golang.org/issue/new?title=x/net/http2:+