Nicholas S. Husin 228a67a374 internal/http3: add CloseIdleConnections support in transport
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>
2026-03-27 14:10:48 -07:00
2025-11-08 12:28:41 -08:00
2026-03-24 07:44:58 -07:00
2023-10-11 21:58:12 +00:00
2023-10-11 21:58:12 +00:00
2023-02-07 17:08:46 +00:00
2015-03-18 17:04:12 +00:00
2024-07-16 16:05:10 +00:00
2024-11-01 18:28:29 +00:00

Go Networking

Go Reference

This repository holds supplementary Go networking packages.

Report Issues / Send Patches

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.

Description
[mirror] Go supplementary network libraries
Readme BSD-3-Clause 13 MiB
Languages
Go 99.9%