mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-28 00:20:13 +01:00
Save a line
This commit is contained in:
parent
dd9cf5cc9a
commit
7ca40df7c1
@ -101,9 +101,8 @@ func (xTransport *XTransport) rebuildTransport() {
|
||||
if xTransport.proxyDialer == nil {
|
||||
dialer := &net.Dialer{Timeout: timeout, KeepAlive: timeout, DualStack: true}
|
||||
return dialer.DialContext(ctx, network, addrStr)
|
||||
} else {
|
||||
return (*xTransport.proxyDialer).Dial(network, addrStr)
|
||||
}
|
||||
return (*xTransport.proxyDialer).Dial(network, addrStr)
|
||||
},
|
||||
}
|
||||
if xTransport.httpProxyFunction != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user