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

Unified Diff: net/base/net_error_list.h

Issue 8496016: Report ERR_CONTENT_LENGTH_MISMATCH when the count of bytes received doesn't match Content-Length. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clear error Created 9 years, 1 month 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
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 2f96f8697fa8bc90c12dc696d762a787a9fca66f..430d7ae0b58d9cb220d9f2fb809ebda64d6c6602 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -511,6 +511,9 @@ NET_ERROR(SPDY_SERVER_REFUSED_STREAM, -351)
// SPDY server didn't respond to the PING message.
NET_ERROR(SPDY_PING_FAILED, -352)
+// Content-Length does not match the number of bytes received.
+NET_ERROR(CONTENT_LENGTH_MISMATCH, -353)
+
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698