mirror of
https://github.com/golang/net.git
synced 2026-03-31 10:27:08 +09:00
Currently, our HTTP/3 transport creates a QUIC endpoint that is never closed when dialing a connection for the first time. To prevent lingering resource that is never cleaned up until a program exits, we now close the QUIC endpoint when CloseIdleConnections is called and no connections need the endpoint anymore. For golang/go#70914 For golang/go#77440 Change-Id: I0e4cb131c161216dd8e6abacfc4e57e79be63d7c Reviewed-on: https://go-review.googlesource.com/c/net/+/754741 Reviewed-by: Nicholas Husin <husin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>