mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 748647 - INHIBIT_PERSISTENT_CACHING was set to early, r=michal
This commit is contained in:
parent
d68bf1a175
commit
417b4ef069
@ -1024,8 +1024,6 @@ nsHttpChannel::ProcessResponse()
|
||||
LOG(("nsHttpChannel::ProcessResponse [this=%p httpStatus=%u]\n",
|
||||
this, httpStatus));
|
||||
|
||||
UpdateInhibitPersistentCachingFlag();
|
||||
|
||||
if (mTransaction->SSLConnectFailed()) {
|
||||
if (!ShouldSSLProxyResponseContinue(httpStatus))
|
||||
return ProcessFailedSSLConnect(httpStatus);
|
||||
@ -1273,6 +1271,8 @@ nsHttpChannel::ContinueProcessNormal(nsresult rv)
|
||||
|
||||
ClearBogusContentEncodingIfNeeded();
|
||||
|
||||
UpdateInhibitPersistentCachingFlag();
|
||||
|
||||
// this must be called before firing OnStartRequest, since http clients,
|
||||
// such as imagelib, expect our cache entry to already have the correct
|
||||
// expiration time (bug 87710).
|
||||
|
Loading…
Reference in New Issue
Block a user