commit | 7374d342a2c3de79d7b96f3aacdb13498c3fc3b5 | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Tue Aug 29 12:51:05 2023 -0700 |
committer | Damien Neil <dneil@google.com> | Wed Aug 30 15:27:22 2023 +0000 |
tree | 4c4d2d6b53b9a22afdd72a24459a8b05323708fa | |
parent | b4d09be75101024ceed6b173b49a5630084174e6 [diff] |
quic: don't block when closing read-only streams Stream.Close blocks until all data sent on a stream has been acked by the peer. Don't block indefinitely when closing a read-only stream, waiting for an ack of data we never sent. For golang/go#58547 Change-Id: I4087666f739d7388e460b613d211c043626f1c87 Reviewed-on: https://go-review.googlesource.com/c/net/+/524038 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Jonathan Amsterdam <jba@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.