commit | 540bb53d3b2ef1be1c9bd6bffb0281fc6c7038ca | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Wed Oct 06 09:41:09 2021 -0700 |
committer | Damien Neil <dneil@google.com> | Fri Oct 29 16:03:32 2021 +0000 |
tree | baa3949c41c393e6dcf273adefac3962eca2a16e | |
parent | d418f374d30933c6c7db22cf349625c295a5afaa [diff] |
http2: add Transport.WriteByteTimeout Add a Transport-level knob to set a timeout for writes to net.Conns. If a write exceeds the timeout without making any progress (at least one byte written), the connection is closed. Fixes golang/go#48830. Change-Id: If0f57996d11c92bced30e07d1e238cbf8994acb4 Reviewed-on: https://go-review.googlesource.com/c/net/+/354431 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.