mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-01 00:57:32 +01:00
Set the main protocol to TCP when using a SOCKS proxy
This commit is contained in:
parent
4b001e3b8e
commit
d143ae5279
@ -277,6 +277,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
|
||||
dlog.Fatalf("Unable to use the proxy: [%v]", err)
|
||||
}
|
||||
proxy.xTransport.proxyDialer = &proxyDialer
|
||||
proxy.mainProto = "tcp"
|
||||
}
|
||||
|
||||
proxy.xTransport.rebuildTransport()
|
||||
|
Loading…
Reference in New Issue
Block a user