mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
For both the server and the transport, return connection-level flow control in two cases: 1) when a stream is closed with buffered data not read by the user, or 2) when a DATA frame arrives but there the stream has since been closed. Fixes golang/go#16481 Change-Id: Ic7404180ed04a2903e8fd6e9599a907f88b4f72e Reviewed-on: https://go-review.googlesource.com/25231 Reviewed-by: Andrew Gerrand <adg@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:+