mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 984994 - Reintroduce 'network.http.use-cache' pref, r=jduell
This commit is contained in:
parent
62b82713ee
commit
4c264d97de
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user