summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 07:28:08 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 07:28:08 +0000
commitc744cf276b917e0d043fe32c37c32597f3f2fc86 (patch)
tree2089a4510205bb308d15b4685debe36fe1acf724 /net/base
parent000527f01885912581e737c880121b12fe315c30 (diff)
downloadchromium_src-c744cf276b917e0d043fe32c37c32597f3f2fc86.zip
chromium_src-c744cf276b917e0d043fe32c37c32597f3f2fc86.tar.gz
chromium_src-c744cf276b917e0d043fe32c37c32597f3f2fc86.tar.bz2
Don't let an active network attacker play tricks with CONNECT tunnels throgh proxy servers.
R=darin,wtc,eroman BUG=7338 Review URL: http://codereview.chromium.org/27198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10595 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_error_list.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 14555c3..9503f534 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -96,6 +96,10 @@ NET_ERROR(SSL_VERSION_OR_CIPHER_MISMATCH, -113)
// The server requested a renegotiation (rehandshake).
NET_ERROR(SSL_RENEGOTIATION_REQUESTED, -114)
+// The proxy claimed to want authenication but didn't provide the proper
+// challenge headers.
+NET_ERROR(PROXY_AUTH_REQUESTED, -115)
+
// Certificate error codes
//
// The values of certificate error codes must be consecutive.
@@ -233,10 +237,6 @@ NET_ERROR(PAC_STATUS_NOT_OK, -326)
// The evaluation of the PAC script failed.
NET_ERROR(PAC_SCRIPT_FAILED, -327)
-// The response was 401 (Unauthorized), yet the request was a CONNECT request
-// to a proxy.
-NET_ERROR(UNEXPECTED_SERVER_AUTH, -328)
-
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)