зеркало из https://github.com/mozilla/gecko-dev.git
bug 785050 - dns failure during auth is not a hard failure r=jduell a=akeybl
This commit is contained in:
Родитель
4d5eb2a05d
Коммит
e6479314b8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче