diff options
author | Marten Seemann <[email protected]> | 2024-10-15 08:38:10 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-15 09:38:10 -0400 |
commit | a211c656f12bcab73df0de114f2b6100ee5a0fe4 (patch) | |
tree | 56b3cd3f85eb59b4b9344918570792998d0fcb36 /modules | |
parent | 48ce47f1d44da485fbbf6be536a0e3822763f313 (diff) | |
download | caddy-a211c656f12bcab73df0de114f2b6100ee5a0fe4.tar.gz caddy-a211c656f12bcab73df0de114f2b6100ee5a0fe4.zip |
chore: update quic-go to v0.48.0 (#6627)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/caddyhttp/reverseproxy/httptransport.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/reverseproxy/httptransport.go b/modules/caddyhttp/reverseproxy/httptransport.go index bc8233788..2b4c3f094 100644 --- a/modules/caddyhttp/reverseproxy/httptransport.go +++ b/modules/caddyhttp/reverseproxy/httptransport.go @@ -142,7 +142,7 @@ type HTTPTransport struct { Transport *http.Transport `json:"-"` h2cTransport *http2.Transport - h3Transport *http3.RoundTripper // TODO: EXPERIMENTAL (May 2024) + h3Transport *http3.Transport // TODO: EXPERIMENTAL (May 2024) } // CaddyModule returns the Caddy module information. @@ -393,7 +393,7 @@ func (h *HTTPTransport) NewTransport(caddyCtx caddy.Context) (*http.Transport, e // do (that'd add latency and complexity, besides, we expect that // site owners control the backends), so it must be exclusive if len(h.Versions) == 1 && h.Versions[0] == "3" { - h.h3Transport = new(http3.RoundTripper) + h.h3Transport = new(http3.Transport) if h.TLS != nil { var err error h.h3Transport.TLSClientConfig, err = h.TLS.MakeTLSClientConfig(caddyCtx) |