commit | d418f374d30933c6c7db22cf349625c295a5afaa | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Oct 19 11:18:33 2021 -0700 |
committer | Damien Neil <dneil@google.com> | Wed Oct 20 06:06:15 2021 +0000 |
tree | 08cebabf1d26241a446ac5072815d97d3046a4b1 | |
parent | c6ed85c7a12db1bd15e993fd3ae4700b2e9f2c84 [diff] |
http2: ignore read errors after closing the request body We close the request body after receiving an error status code. This is supposed to cause cs.writeRequestBody to return errStopReqBodyWrite. Ensure that it does so if it gets an error reading from the post-close body, rather than returning an error which causes the entire request to be aborted. Change-Id: I7c51928cb678f5baf37148f0df6ab196518d39d4 Reviewed-on: https://go-review.googlesource.com/c/net/+/356969 Trust: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@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.