Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: net/base/net_error_list.h

Issue 11787007: Race Create vs SendRequest on cache misses. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lose a race Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/disk_cache/pending_create_entry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 30d23cab672c9012f04395efaacdc58a7dad6b23..208a2fe54e4fb32b3bb99c0925ee5b931ea358c5 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -553,6 +553,10 @@ NET_ERROR(CACHE_CREATE_FAILURE, -405)
// of the cache has changed.
NET_ERROR(CACHE_RACE, -406)
+// The disk cache tried to race creates against network transactions, and data
+// arrived from the network transaction before the entry was created on disk.
+NET_ERROR(CACHE_CREATE_RACE_FAILED, -507)
+
// The server's response was insecure (e.g. there was a cert error).
NET_ERROR(INSECURE_RESPONSE, -501)
« no previous file with comments | « no previous file | net/disk_cache/pending_create_entry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698