mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Save a line
This commit is contained in:
parent
dd9cf5cc9a
commit
7ca40df7c1
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue