bug 785050 - dns failure during auth is not a hard failure r=jduell a=akeybl

This commit is contained in:
Patrick McManus 2012-10-16 15:13:52 -04:00
Родитель 4d5eb2a05d
Коммит e6479314b8
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -1394,13 +1394,14 @@ nsHttpChannelAuthProvider::DNSCallback::OnLookupComplete(nsICancelable *request,
LOG(("nsHttpChannelAuthProvider::OnLookupComplete this=%p "
"resolved to %s\n", mAuthProvider.get(), cname.get()));
mAuthProvider->SetCanonicalizedHost(cname);
mAuthProvider->OnAuthAvailable(nullptr, nullptr);
}
else {
LOG(("nsHttpChannelAuthProvider::OnLookupComplete this=%p "
"GetCanonicalName failed\n", mAuthProvider.get()));
mAuthProvider->OnAuthCancelled(nullptr, false);
}
// Proceed whether or not DNS canonicalization succeeded
mAuthProvider->OnAuthAvailable(nullptr, nullptr);
return NS_OK;
}