commit | 26b646ea024741dd5d8e141fc33d8149c465686a | [log] [tgz] |
---|---|---|
author | Damien Neil <dneil@google.com> | Mon Jan 08 09:36:16 2024 -0800 |
committer | Damien Neil <dneil@google.com> | Mon Jan 08 18:45:12 2024 +0000 |
tree | 31f2d471857321c4d63ed3e3910cdc206df224cb | |
parent | cb5b10f0bbc51089bf49030ce3bd43bbfee08c23 [diff] |
quic: avoid deadlock in Endpoint.Close Don't hold Endpoint.connsMu while calling Conn methods that can indirectly depend on acquiring it. Also change test cleanup to not wait for connections to drain when closing a test Endpoint, removing an unnecessary 0.1s delay in test runtime. Fixes golang/go#64982. Change-Id: If336e63b0a7f5b8d2ef63986d36f9ee38a92c477 Reviewed-on: https://go-review.googlesource.com/c/net/+/554695 Reviewed-by: Jonathan Amsterdam <jba@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.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.