diff options
author | WeidiDeng <[email protected]> | 2024-08-07 12:08:32 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-06 22:08:32 -0600 |
commit | a8b0dfa8da5616837f7e028578ddb9b7ad36b64e (patch) | |
tree | f15dc30ffc85a1937c293d3c8188c17b800942bb /modules/caddyhttp/server.go | |
parent | b1986781740b2b7f546c6ce56496c5cc7145674d (diff) | |
download | caddy-a8b0dfa8da5616837f7e028578ddb9b7ad36b64e.tar.gz caddy-a8b0dfa8da5616837f7e028578ddb9b7ad36b64e.zip |
go.mod: update quic-go package (#6498)
Diffstat (limited to 'modules/caddyhttp/server.go')
-rw-r--r-- | modules/caddyhttp/server.go | 1 |
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) }, |