зеркало из https://github.com/mozilla/gecko-dev.git
Bug 562289 - Using a system proxy should honor socks_remote_dns pref. r=biesi
This commit is contained in:
Родитель
00d6dd18b5
Коммит
21372f57be
|
@ -643,7 +643,7 @@ nsProtocolProxyService::ExtractProxyInfo(const char *start,
|
|||
// If it's a SOCKS5 proxy, do name resolution on the server side.
|
||||
// We could use this with SOCKS4a servers too, but they might not
|
||||
// support it.
|
||||
if (type == kProxyType_SOCKS)
|
||||
if (type == kProxyType_SOCKS || mSOCKSProxyRemoteDNS)
|
||||
flags |= nsIProxyInfo::TRANSPARENT_PROXY_RESOLVES_HOST;
|
||||
|
||||
// extract host:port
|
||||
|
|
Загрузка…
Ссылка в новой задаче