summaryrefslogtreecommitdiffstats
path: root/net/base/net_error_list.h
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 21:06:12 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 21:06:12 +0000
commite05294e5feca88329e5d795bc927da82cd97656a (patch)
treecae091cc7166bd3661c88872021f938657c1c699 /net/base/net_error_list.h
parenta88d601f7f632a21afe88359d503559fa20d9e40 (diff)
downloadchromium_src-e05294e5feca88329e5d795bc927da82cd97656a.zip
chromium_src-e05294e5feca88329e5d795bc927da82cd97656a.tar.gz
chromium_src-e05294e5feca88329e5d795bc927da82cd97656a.tar.bz2
-Add error code for chunked encoding
-Add unit test for chunk-size > 2GB -Allow trailing space (0x20) -Document how other browsers parse the chunk-size BUG=1326627 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/net_error_list.h')
-rw-r--r--net/base/net_error_list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 9a6c4f0..62696be 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -60,6 +60,9 @@ NET_ERROR(FILE_TOO_BIG, -8)
// invalid assumption.
NET_ERROR(UNEXPECTED, -9)
+// Error in chunked transfer encoding.
+NET_ERROR(BAD_CHUNKED_ENCODING, -10)
+
// A connection was closed (corresponding to a TCP FIN).
NET_ERROR(CONNECTION_CLOSED, -100)