diff options
author | Francis Lavoie <lavofr@gmail.com> | 2022-07-06 14:14:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 12:14:32 -0600 |
commit | 8bac134f26874b25aa22f8fee325a05d39157a4c (patch) | |
tree | b756e976a6a5306bc697745ba6d170258701a3b0 /modules/caddyhttp | |
parent | 412dcc07d3201561302bc20b6200d893aee69657 (diff) |
go.mod: Bump up quic-go to v0.28.0, fixes for BC breaks (#4867)
Diffstat (limited to 'modules/caddyhttp')
-rw-r--r-- | modules/caddyhttp/app.go | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go index d886b88..4a8a375 100644 --- a/modules/caddyhttp/app.go +++ b/modules/caddyhttp/app.go @@ -357,12 +357,10 @@ func (app *App) Start() error { return fmt.Errorf("getting HTTP/3 QUIC listener: %v", err) } h3srv := &http3.Server{ - Server: &http.Server{ - Addr: hostport, - Handler: srv, - TLSConfig: tlsCfg, - ErrorLog: serverLogger, - }, + Addr: hostport, + Handler: srv, + TLSConfig: tlsCfg, + MaxHeaderBytes: srv.MaxHeaderBytes, } //nolint:errcheck go h3srv.ServeListener(h3ln) |