diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 22:54:08 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 22:54:08 +0000 |
commit | 0e6d874af53c7d08ad8a2eafd3e3e7ae8ba563af (patch) | |
tree | b39464b54ee500e8e9de6d0053f3cc82ea06746d /net/http/http_network_transaction.h | |
parent | c3af26f3314bf48f478cec8128b5c15cc3f98940 (diff) | |
download | chromium_src-0e6d874af53c7d08ad8a2eafd3e3e7ae8ba563af.zip chromium_src-0e6d874af53c7d08ad8a2eafd3e3e7ae8ba563af.tar.gz chromium_src-0e6d874af53c7d08ad8a2eafd3e3e7ae8ba563af.tar.bz2 |
Detach the ClientSocketHandle from an HttpStream so the same socket can be reused for multiple rounds of
NTLM authentication.
BUG=57261
TEST=Start chrome with --auth-schemes=NTLM and --proxy-server pointing to a Microsoft Forefront Threat Management Gateway proxy configurated for Integrated Authentication. Assuming the user is part of the same domain as the proxy, authentication should work transparently, and the user should not be presented with auth prompts. Also, net_unittests should pass.
Review URL: http://codereview.chromium.org/3578016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61724 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r-- | net/http/http_network_transaction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index f0080e2..d52b8ec 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -24,6 +24,7 @@ namespace net { +class ClientSocketHandle; class HttpAuthController; class HttpNetworkSession; class HttpStream; @@ -208,6 +209,10 @@ class HttpNetworkTransaction : public HttpTransaction, scoped_refptr<StreamFactory::StreamRequestJob> stream_request_; scoped_ptr<HttpStream> stream_; + // Reuse the same connection for each round of a connection-based HTTP + // authentication scheme. + scoped_ptr<ClientSocketHandle> auth_connection_; + // True if we've validated the headers that the stream parser has returned. bool headers_valid_; |