summaryrefslogtreecommitdiffstats
path: root/net/socket_stream
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 17:54:54 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 17:54:54 +0000
commita7ea883a61fc3c41addab9a6d6aa3f9f0e95b994 (patch)
tree06ef27350a861cdf70f049d03600e3af64fbe949 /net/socket_stream
parent3d2f01d1cbe644706fa04a92f0bd815b3b868d4d (diff)
downloadchromium_src-a7ea883a61fc3c41addab9a6d6aa3f9f0e95b994.zip
chromium_src-a7ea883a61fc3c41addab9a6d6aa3f9f0e95b994.tar.gz
chromium_src-a7ea883a61fc3c41addab9a6d6aa3f9f0e95b994.tar.bz2
Implement HttpProxyClientSocket: Http proxie setup is now done in it's own class (refactor).
BUG=42795 TEST=existing unit tests Review URL: http://codereview.chromium.org/2799036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket_stream')
-rw-r--r--net/socket_stream/socket_stream.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket_stream/socket_stream.cc b/net/socket_stream/socket_stream.cc
index d38242c..2bf39be 100644
--- a/net/socket_stream/socket_stream.cc
+++ b/net/socket_stream/socket_stream.cc
@@ -706,7 +706,7 @@ int SocketStream::DoReadTunnelHeadersComplete(int result) {
return OK;
case 407: // Proxy Authentication Required.
result = HandleAuthChallenge(headers.get());
- if (result == ERR_PROXY_AUTH_REQUESTED &&
+ if (result == ERR_PROXY_AUTH_UNSUPPORTED &&
auth_handler_.get() && delegate_) {
DCHECK(!proxy_info_.is_empty());
auth_info_ = new AuthChallengeInfo;
@@ -924,7 +924,7 @@ int SocketStream::HandleAuthChallenge(const HttpResponseHeaders* headers) {
auth_identity_.password = entry->password();
// Restart with auth info.
}
- return ERR_PROXY_AUTH_REQUESTED;
+ return ERR_PROXY_AUTH_UNSUPPORTED;
} else {
auth_identity_.invalid = false;
}