зеркало из https://github.com/mozilla/pjs.git
landing non-nspr portion of patch for bug 239358 "DNS: Reverse lookups are
degrading performance" r=lorenzo sr=bryner
This commit is contained in:
Родитель
d974132be2
Коммит
352c087a74
|
@ -147,7 +147,8 @@ MakeSN(const char *principal, nsCString &result)
|
|||
|
||||
// This should always hit our DNS cache
|
||||
nsCOMPtr<nsIDNSRecord> record;
|
||||
rv = dns->Resolve(Substring(buf, index + 1), PR_FALSE,
|
||||
rv = dns->Resolve(Substring(buf, index + 1),
|
||||
nsIDNSService::RESOLVE_CANONICAL_NAME,
|
||||
getter_AddRefs(record));
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче