summaryrefslogtreecommitdiffstats
path: root/net/base/client_socket_handle.h
diff options
context:
space:
mode:
authorwtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-25 20:41:46 +0000
committerwtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-25 20:41:46 +0000
commitc7af8b2475369ae8fd1f596c7265b08026c10cb4 (patch)
treeb71ba9fabe98030c23c7c317f31283b7fdb816a2 /net/base/client_socket_handle.h
parent4132cc5ad7443aec1837c6501212906043ea1131 (diff)
downloadchromium_src-c7af8b2475369ae8fd1f596c7265b08026c10cb4.zip
chromium_src-c7af8b2475369ae8fd1f596c7265b08026c10cb4.tar.gz
chromium_src-c7af8b2475369ae8fd1f596c7265b08026c10cb4.tar.bz2
Implement SSL tunneling through a proxy server.
Add several states to HttpNetworkTransaction for the HTTP CONNECT method and the SSL Connect (handshake) after the tunnel is connected. Add the error code ERR_TUNNEL_CONNECTION_FAILED for failure to connect a tunnel. R=darin BUG=1272555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/client_socket_handle.h')
-rw-r--r--net/base/client_socket_handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/client_socket_handle.h b/net/base/client_socket_handle.h
index 7d8e896..f033d2a 100644
--- a/net/base/client_socket_handle.h
+++ b/net/base/client_socket_handle.h
@@ -60,6 +60,7 @@ class ClientSocketHandle {
// These may only be used if is_initialized() is true.
ClientSocket* socket() { return socket_->get(); }
+ ClientSocket* release_socket() { return socket_->release(); }
void set_socket(ClientSocket* s) { socket_->reset(s); }
private: