зеркало из https://github.com/mozilla/pjs.git
Fixes bug 73875 "www.fox.com does not load" r=beard sr=brendan
This commit is contained in:
Родитель
19b315986e
Коммит
a5df5b1110
|
@ -2033,6 +2033,12 @@ nsHTTPChannel::Connect()
|
||||||
|
|
||||||
#ifdef MOZ_NEW_CACHE
|
#ifdef MOZ_NEW_CACHE
|
||||||
if (mState == HS_WAITING_FOR_CACHE_ENTRY) {
|
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...
|
// So, we "may" have a cache entry now...
|
||||||
rv = CheckCache();
|
rv = CheckCache();
|
||||||
if (NS_FAILED(rv))
|
if (NS_FAILED(rv))
|
||||||
|
|
Загрузка…
Ссылка в новой задаче