aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/app.go')
-rw-r--r--modules/caddyhttp/app.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go
index 457a5f4d3..69cd73b96 100644
--- a/modules/caddyhttp/app.go
+++ b/modules/caddyhttp/app.go
@@ -617,17 +617,6 @@ func (app *App) Stop() error {
zap.Error(err),
zap.Strings("addresses", server.Listen))
}
-
- // TODO: we have to manually close our listeners because quic-go won't
- // close listeners it didn't create along with the server itself...
- // see https://github.com/quic-go/quic-go/issues/3560
- for _, el := range server.h3listeners {
- if err := el.Close(); err != nil {
- app.logger.Error("HTTP/3 listener close",
- zap.Error(err),
- zap.String("address", el.LocalAddr().String()))
- }
- }
}
stopH2Listener := func(server *Server) {
defer finishedShutdown.Done()