http2: end stream eagerly after sending the request body Check EOF eagerly on the request body when its content-length is specified and it is expected to end. Thus, the data frame containing the last chunk of data of the body will be marked with END_STREAM eagerly. In case the request body is larger than the specified content-length, the request will be aborted and returned with an error. Fixes golang/go#32254 Change-Id: Id24c043c7cc3a41421dfd099a139f1b1e08056b9 Reviewed-on: https://go-review.googlesource.com/c/net/+/181157 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. The main issue tracker for the net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.