|author||Ian Lance Taylor <email@example.com>||Mon May 18 20:57:45 2020 -0700|
|committer||Ian Lance Taylor <firstname.lastname@example.org>||Wed May 20 00:47:42 2020 +0000|
http2: read request in TestTransportBodyLargerThanXXX Otherwise the server can stop the connection before clientStream.writeRequestBody has a chance to see if there is any more data beyond the specified content length. Tested by adding time.Sleep(time.Millisecond) to chunkReader.Read, which caused the test to reliably fail before this change, and reliably pass afterward. Fixes golang/go#34616 Change-Id: I119bdf01bf916b2ded2c5d293655cba2596c0166 Reviewed-on: https://go-review.googlesource.com/c/net/+/234523 Run-TryBot: Ian Lance Taylor <email@example.com> TryBot-Result: Gobot Gobot <firstname.lastname@example.org> Reviewed-by: Brad Fitzpatrick <email@example.com>
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
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.