From 9267f76bf6ce1d47f978b3c4decfdcf13bc9af9b Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Mon, 11 Jun 2001 21:24:25 +0000 Subject: [PATCH] Fixes bug 73392 "ad blocking hosts file prevents page load" r=gagan, sr=dougt, a=asa --- netwerk/base/src/nsSocketTransport.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netwerk/base/src/nsSocketTransport.cpp b/netwerk/base/src/nsSocketTransport.cpp index 6560e6c493d..1bc7b4bfca9 100644 --- a/netwerk/base/src/nsSocketTransport.cpp +++ b/netwerk/base/src/nsSocketTransport.cpp @@ -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)) {