Merge pull request #5358
3c77714
Make -proxy set all network types, avoiding a connect leak. (Gregory Maxwell)
This commit is contained in:
commit
6f9e67aca7
@ -854,9 +854,7 @@ bool AppInit2(boost::thread_group& threadGroup)
|
||||
if (!addrProxy.IsValid())
|
||||
return InitError(strprintf(_("Invalid -proxy address: '%s'"), mapArgs["-proxy"]));
|
||||
|
||||
if (!IsLimited(NET_IPV4))
|
||||
SetProxy(NET_IPV4, addrProxy);
|
||||
if (!IsLimited(NET_IPV6))
|
||||
SetProxy(NET_IPV6, addrProxy);
|
||||
SetNameProxy(addrProxy);
|
||||
fProxy = true;
|
||||
|
Loading…
Reference in New Issue
Block a user