commit | 0ba52f642ac2f9371a88bfdde41f4b4e195a37c0 | [log] [tgz] |
---|---|---|
author | Chao Xu <xuchao@google.com> | Wed Mar 11 20:59:02 2020 +0000 |
committer | Russ Cox <rsc@golang.org> | Wed May 20 18:23:14 2020 +0000 |
tree | 5cc4b1f9fba0668a768ef804c3454d5947bd8f8e | |
parent | 59133d7f0dd7cb4ec46ee7b17b1b71cff79e0309 [diff] |
http2: perform connection health check After the connection has been idle for a while, periodic pings are sent over the connection to check its health. Unhealthy connection is closed and removed from the connection pool. Fixes golang/go#31643 Change-Id: Idbbc9cb2d3e26c39f84a33e945e482d41cd8583c GitHub-Last-Rev: 36607fe185ce6684e9900403f82a298ad5567650 GitHub-Pull-Request: golang/net#55 Reviewed-on: https://go-review.googlesource.com/c/net/+/198040 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@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.