Bug 562289 - Using a system proxy should honor socks_remote_dns pref. r=biesi

This commit is contained in:
Matt Woodrow 2011-11-19 14:36:05 +01:00
parent 00d6dd18b5
commit 21372f57be

View File

@ -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