Bug 923458 - ProxyAutoConfig::ResolveAddress should make medium priority DNS requests to use negative cache entries r=mcmanus

This commit is contained in:
Steve Workman 2013-11-13 10:40:44 -08:00
parent 5955b18036
commit 3a63c32d32

View File

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