Bug 984994 - Reintroduce 'network.http.use-cache' pref, r=jduell

This commit is contained in:
Honza Bambas 2014-04-04 14:42:06 +02:00
parent 62b82713ee
commit 4c264d97de

View File

@ -315,6 +315,10 @@ nsHttpChannel::Connect()
return NS_ERROR_DOCUMENT_NOT_CACHED;
}
if (!gHttpHandler->UseCache()) {
return ContinueConnect();
}
// open a cache entry for this channel...
rv = OpenCacheEntry(usingSSL);