Index: net/http/http_cache.cc |
=================================================================== |
--- net/http/http_cache.cc (revision 7627) |
+++ net/http/http_cache.cc (working copy) |
@@ -1255,9 +1255,9 @@ |
} |
void HttpCache::DoneWithEntry(ActiveEntry* entry, Transaction* trans) { |
- // If we already posted a task to move on to the next transaction, there is |
- // nothing to cancel. |
- if (entry->will_process_pending_queue) |
+ // If we already posted a task to move on to the next transaction and this was |
+ // the writer, there is nothing to cancel. |
+ if (entry->will_process_pending_queue && entry->readers.empty()) |
return; |
if (entry->writer) { |