aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorWeidiDeng <[email protected]>2024-08-07 12:08:32 +0800
committerGitHub <[email protected]>2024-08-06 22:08:32 -0600
commita8b0dfa8da5616837f7e028578ddb9b7ad36b64e (patch)
treef15dc30ffc85a1937c293d3c8188c17b800942bb /modules
parentb1986781740b2b7f546c6ce56496c5cc7145674d (diff)
downloadcaddy-a8b0dfa8da5616837f7e028578ddb9b7ad36b64e.tar.gz
caddy-a8b0dfa8da5616837f7e028578ddb9b7ad36b64e.zip
go.mod: update quic-go package (#6498)
Diffstat (limited to 'modules')
-rw-r--r--modules/caddyhttp/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go
index 96a819b40..6caaabcda 100644
--- a/modules/caddyhttp/server.go
+++ b/modules/caddyhttp/server.go
@@ -602,6 +602,7 @@ func (s *Server) serveHTTP3(addr caddy.NetworkAddress, tlsCfg *tls.Config) error
QUICConfig: &quic.Config{
Versions: []quic.Version{quic.Version1, quic.Version2},
},
+ IdleTimeout: time.Duration(s.IdleTimeout),
ConnContext: func(ctx context.Context, c quic.Connection) context.Context {
return context.WithValue(ctx, quicConnCtxKey, c)
},