mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-03 18:04:40 +01:00
http3: RoundTripper was renamed to Transport
This commit is contained in:
parent
41bc703873
commit
a4cbc66fdd
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ type AltSupport struct {
|
|||
|
||||
type XTransport struct {
|
||||
transport *http.Transport
|
||||
h3Transport *http3.RoundTripper
|
||||
h3Transport *http3.Transport
|
||||
keepAlive time.Duration
|
||||
timeout time.Duration
|
||||
cachedIPs CachedIPs
|
||||
|
@ -311,7 +311,7 @@ func (xTransport *XTransport) rebuildTransport() {
|
|||
tlsCfg.ServerName = host
|
||||
return quic.DialEarly(ctx, udpConn, udpAddr, tlsCfg, cfg)
|
||||
}
|
||||
h3Transport := &http3.RoundTripper{DisableCompression: true, TLSClientConfig: &tlsClientConfig, Dial: dial}
|
||||
h3Transport := &http3.Transport{DisableCompression: true, TLSClientConfig: &tlsClientConfig, Dial: dial}
|
||||
xTransport.h3Transport = h3Transport
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue