summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-23 18:26:19 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-23 18:26:19 +0000
commit4ddaf2503578f90ac32766828e31e68d25a37207 (patch)
treea1c4504bca5bd1d5c5327a51bde72f6eb7312c4c /net/base
parent3d08fef8b62ff30092f38874eb4ad062540e9165 (diff)
downloadchromium_src-4ddaf2503578f90ac32766828e31e68d25a37207.zip
chromium_src-4ddaf2503578f90ac32766828e31e68d25a37207.tar.gz
chromium_src-4ddaf2503578f90ac32766828e31e68d25a37207.tar.bz2
Bound the maximum buffer size for response headers.
http://code.google.com/p/chromium/issues/detail?id=3654 Review URL: http://codereview.chromium.org/7882 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3827 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-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 6e1d642..d632fff 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -218,6 +218,9 @@ NET_ERROR(UNEXPECTED_PROXY_AUTH, -323)
// The server closed the connection without sending any data.
NET_ERROR(EMPTY_RESPONSE, -324)
+// The headers section of the response is too large.
+NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325)
+
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)