Fixes bug 73875 "www.fox.com does not load" r=beard sr=brendan

This commit is contained in:
darin%netscape.com 2001-04-02 01:12:40 +00:00
parent c109661ded
commit 70077848e8

View File

@ -2033,6 +2033,12 @@ nsHTTPChannel::Connect()
#ifdef MOZ_NEW_CACHE
if (mState == HS_WAITING_FOR_CACHE_ENTRY) {
if (NS_FAILED(mStatus)) {
LOG(("canceled while waiting for a cache entry descriptor [this=%x status=%x]\n",
this, mStatus));
CacheAbort(mStatus); // make sure the cache entry is doomed!!
return NS_OK;
}
// So, we "may" have a cache entry now...
rv = CheckCache();
if (NS_FAILED(rv))