mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
Bug 923458 - ProxyAutoConfig::ResolveAddress should make medium priority DNS requests to use negative cache entries r=mcmanus
This commit is contained in:
parent
5955b18036
commit
3a63c32d32
@ -346,7 +346,9 @@ ProxyAutoConfig::ResolveAddress(const nsCString &aHostName,
|
||||
|
||||
nsRefPtr<PACResolver> helper = new PACResolver();
|
||||
|
||||
if (NS_FAILED(dns->AsyncResolve(aHostName, 0, helper,
|
||||
if (NS_FAILED(dns->AsyncResolve(aHostName,
|
||||
nsIDNSService::RESOLVE_PRIORITY_MEDIUM,
|
||||
helper,
|
||||
NS_GetCurrentThread(),
|
||||
getter_AddRefs(helper->mRequest))))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user