Index: net/http/http_cache_transaction.cc |
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc |
index 24002d75215d56bcc5081c22af3d4369806159e8..0e557c05b2f84c232c36291fde0ee00803538927 100644 |
--- a/net/http/http_cache_transaction.cc |
+++ b/net/http/http_cache_transaction.cc |
@@ -1160,6 +1160,9 @@ int HttpCache::Transaction::DoAddToEntryComplete(int result) { |
} |
if (result == ERR_CACHE_LOCK_TIMEOUT) { |
+ if (mode_ == READ) |
+ return ERR_CACHE_MISS; |
+ |
// The cache is busy, bypass it for this transaction. |
mode_ = NONE; |
next_state_ = STATE_SEND_REQUEST; |