quic: ensure Endpoint.Close waits for connection loops to exit In CL 822984, Endpoint.Close was modified to only return when its listen loop has actually exited. However, if Endpoint.packetConn is closed prior to Endpoint.Close being called (as in the case of net/http), Endpoint.Close can still return prematurely before all connection loops exit. Fix this by making sure that we also wait for all connection loops to exit. For golang/go#70914 Change-Id: I7dbc985475e845c89e2fa9a7755718326a6a6964 Reviewed-on: https://go-review.googlesource.com/c/net/+/823524 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Damien Neil <dneil@google.com>
This repository holds supplementary Go networking packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/net.
The main issue tracker for the net repository is located at https://go.dev/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.