Fixes bug 73392 "ad blocking hosts file prevents page load"

r=gagan, sr=dougt, a=asa
This commit is contained in:
darin%netscape.com 2001-06-11 21:24:25 +00:00
Родитель cf3d4afb48
Коммит 1b67eeb3c2
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1386,6 +1386,8 @@ nsSocketTransport::OnStopLookup(nsISupports *aContext,
// If the lookup failed, set the status...
if (NS_FAILED(aStatus))
mStatus = aStatus;
else if (PR_IsNetAddrType(&mNetAddress, PR_IpAddrAny))
mStatus = NS_ERROR_ABORT;
// Start processing the transport again - if necessary...
if (GetFlag(eSocketDNS_Wait)) {