mirror of
https://github.com/caddyserver/caddy.git
synced 2026-09-21 18:34:08 +00:00
chore: update quic-go to v0.48.0 (#6627)
This commit is contained in:
parent
48ce47f1d4
commit
a211c656f1
3 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue