diff --git a/http3/server.go b/http3/server.go index 7e002a09b..cb53c44a7 100644 --- a/http3/server.go +++ b/http3/server.go @@ -271,7 +271,7 @@ func (s *Server) ServeQUICConn(conn *quic.Conn) error { // ServeListener serves an existing QUIC listener. // Make sure you use http3.ConfigureTLSConfig to configure a tls.Config // and use it to construct a http3-friendly QUIC listener. -// Closing the server does close the listener. +// Closing the server does not close the listener. It is the application's responsibility to close them. // ServeListener always returns a non-nil error. After Shutdown or Close, the returned error is http.ErrServerClosed. func (s *Server) ServeListener(ln QUICListener) error { s.mutex.Lock()