commit | 47ca1ff31462b4c8e280b5f2cdba5050aa61e890 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Nov 16 13:04:45 2021 -0800 |
committer | Damien Neil <dneil@google.com> | Tue Nov 16 23:12:05 2021 +0000 |
tree | e10d166a0d1cb3cfddd4d7ea8a6f6cbad39de13e | |
parent | e8b54dec6f95a7db74c60de60690ec40e8eaa677 [diff] |
http2: avoid busy loop when ResponseHeaderTimeout is set Don't keep reading from respHeaderRecv after the response headers are received. Fixes golang/go#49615. Change-Id: Ib8126c954930011ac09b2cbc70bbbce76531b7db Reviewed-on: https://go-review.googlesource.com/c/net/+/364574 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.