commit | 82780d606d189ee6d3e9dd4683e493d832f3caaf | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Apr 18 11:18:57 2023 -0700 |
committer | Damien Neil <dneil@google.com> | Mon May 01 20:15:46 2023 +0000 |
tree | b3819c8c4647278c94d5febe297c2670ccd86697 | |
parent | 0bfab66a03570232c7aaea77dcdd2355ae6e9db8 [diff] |
http2: don't reuse connections that are experiencing errors When a request on a connection fails to complete successfully, mark the conn as doNotReuse. It's possible for requests to fail for reasons unrelated to connection health, but opening a new connection unnecessarily is less of an impact than reusing a dead connection. Fixes golang/go#59690 Change-Id: I40bf6cefae602ead70c3bcf2fe573cc13f34a385 Reviewed-on: https://go-review.googlesource.com/c/net/+/486156 Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.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 $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.