Bug 1040086 - EV identifier missing when restoring session with HTTP cache v2. r=michal

This commit is contained in:
Honza Bambas 2014-08-21 15:50:16 -07:00
parent 158afd70a1
commit c9317f4613

View File

@ -3655,6 +3655,11 @@ nsHttpChannel::CloseCacheEntry(bool doomOnFailure)
if (doom) {
LOG((" dooming cache entry!!"));
mCacheEntry->AsyncDoom(nullptr);
} else {
// Store updated security info, makes cached EV status race less likely
// (see bug 1040086)
if (mSecurityInfo)
mCacheEntry->SetSecurityInfo(mSecurityInfo);
}
mCachedResponseHead = nullptr;