diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 04:39:03 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-21 04:39:03 +0000 |
commit | 4401ae8df7114cc9be65c1f6675893362953c020 (patch) | |
tree | 28512ae96a6bc26297cc8e539078c93928a6bfef /net/http/http_proxy_utils.h | |
parent | e84e6956fca7f37a25713059ee2a09ae7b65ff23 (diff) | |
download | chromium_src-4401ae8df7114cc9be65c1f6675893362953c020.zip chromium_src-4401ae8df7114cc9be65c1f6675893362953c020.tar.gz chromium_src-4401ae8df7114cc9be65c1f6675893362953c020.tar.bz2 |
Revert 110879 - Allow chrome to handle 407 auth challenges to CONNECT requests
through HTTPS Proxies. This also changes the mechanism used
to restart HttpProxyClientSocket requests with auth. Previously
the transport socket would be Disconnected, and then re-Connected
(which was not implemented for SSLClientSockets). However, the
approach was problematic in the face of, for example, ipv6. The
new approach is to close the HttpProxyClientSocket, and request
a new socket from the pool.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110529
Review URL: http://codereview.chromium.org/8502024
TBR=rch@chromium.org
Review URL: http://codereview.chromium.org/8609006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_proxy_utils.h')
-rw-r--r-- | net/http/http_proxy_utils.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/net/http/http_proxy_utils.h b/net/http/http_proxy_utils.h index 3257f7f..9d18fc8 100644 --- a/net/http/http_proxy_utils.h +++ b/net/http/http_proxy_utils.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -10,9 +10,6 @@ namespace net { -class BoundNetLog; -class HttpAuthController; -class HttpResponseInfo; struct HttpRequestInfo; class HttpRequestHeaders; class HostPortPair; @@ -26,12 +23,6 @@ void BuildTunnelRequest(const HttpRequestInfo& request_info, std::string* request_line, HttpRequestHeaders* request_headers); -// When an auth challenge (407 response) is received during tunnel construction -// this method should be called. -int HandleAuthChallenge(HttpAuthController *auth, - HttpResponseInfo* response, - const BoundNetLog& net_log); - } // namespace net #endif // NET_HTTP_HTTP_PROXY_UTILS_H_ |