Index: net/http/http_cache_transaction.cc |
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc |
index b06e8f3a272b4df533756a423f5a5fc0b321b532..f8aeb786e2882bd9b9fd82e89a19b3678fdf492c 100644 |
--- a/net/http/http_cache_transaction.cc |
+++ b/net/http/http_cache_transaction.cc |
@@ -2636,7 +2636,8 @@ int HttpCache::Transaction::WriteResponseInfoToEntry(bool truncated) { |
// reverse-map the cert status to a net error and replay the net error. |
if ((cache_->mode() != RECORD && |
response_.headers->HasHeaderValue("cache-control", "no-store")) || |
- net::IsCertStatusError(response_.ssl_info.cert_status)) { |
+ (net::IsCertStatusError(response_.ssl_info.cert_status) && |
+ !net::IsCertStatusMinorError(response_.ssl_info.cert_status))) { |
DoneWritingToEntry(false); |
if (net_log_.IsLogging()) |
net_log_.EndEvent(NetLog::TYPE_HTTP_CACHE_WRITE_INFO); |