Index: net/http/http_proxy_client_socket_wrapper.cc |
diff --git a/net/http/http_proxy_client_socket_wrapper.cc b/net/http/http_proxy_client_socket_wrapper.cc |
index f5e258e86cd8ed5821476871708a9c3450359aad..b209a5af46710d743f896bf013eb89e474ea56ae 100644 |
--- a/net/http/http_proxy_client_socket_wrapper.cc |
+++ b/net/http/http_proxy_client_socket_wrapper.cc |
@@ -424,7 +424,9 @@ int HttpProxyClientSocketWrapper::DoSSLConnect() { |
if (tunnel_) { |
SpdySessionKey key(GetDestination().host_port_pair(), ProxyServer::Direct(), |
PRIVACY_MODE_DISABLED); |
- if (spdy_session_pool_->FindAvailableSession(key, GURL(), net_log_)) { |
+ if (spdy_session_pool_->FindAvailableSession( |
+ key, GURL(), |
+ /* enable_ip_based_pooling = */ true, net_log_)) { |
using_spdy_ = true; |
next_state_ = STATE_SPDY_PROXY_CREATE_STREAM; |
return OK; |
@@ -522,7 +524,9 @@ int HttpProxyClientSocketWrapper::DoSpdyProxyCreateStream() { |
SpdySessionKey key(GetDestination().host_port_pair(), ProxyServer::Direct(), |
PRIVACY_MODE_DISABLED); |
base::WeakPtr<SpdySession> spdy_session = |
- spdy_session_pool_->FindAvailableSession(key, GURL(), net_log_); |
+ spdy_session_pool_->FindAvailableSession( |
+ key, GURL(), |
+ /* enable_ip_based_pooling = */ true, net_log_); |
// It's possible that a session to the proxy has recently been created |
if (spdy_session) { |
if (transport_socket_handle_.get()) { |