summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 17:24:00 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 17:24:00 +0000
commit41d3846d2f324a140e5e841bad5f53e156b40d15 (patch)
tree00ba2ed55c8c9e5a01e98fec82673a64b34cfd33 /net/base
parentd18be496b6e7160ef944c88f765ba977eb12ca03 (diff)
downloadchromium_src-41d3846d2f324a140e5e841bad5f53e156b40d15.zip
chromium_src-41d3846d2f324a140e5e841bad5f53e156b40d15.tar.gz
chromium_src-41d3846d2f324a140e5e841bad5f53e156b40d15.tar.bz2
This CL will introduce a new way to do exponential back-off on failure within
Chromium. It is a network level implementation and should constitute a good enough bottleneck to manage every outgoing http request. Committing for malavv@google.com. Original review: http://codereview.chromium.org/2487001/show BUG=none TEST=unit tests Review URL: http://codereview.chromium.org/3005049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_error_list.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 5fe0846..a626fad 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -171,6 +171,10 @@ NET_ERROR(SSL_UNSAFE_NEGOTIATION, -128)
// The SSL server is using a weak cryptographic key.
NET_ERROR(SSL_WEAK_SERVER_KEY, -129)
+// The request throttler module cancelled this request because the are too many
+// requests to a server that is failing requests.
+NET_ERROR(TEMPORARILY_THROTTLED_BY_DDOS, -130)
+
// Certificate error codes
//
// The values of certificate error codes must be consecutive.