Chromium Code Reviews| Index: net/http/http_proxy_client_socket_pool.cc |
| =================================================================== |
| --- net/http/http_proxy_client_socket_pool.cc (revision 68959) |
| +++ net/http/http_proxy_client_socket_pool.cc (working copy) |
| @@ -318,13 +318,16 @@ |
| params_->http_auth_cache(), |
| params_->http_auth_handler_factory(), |
| params_->tunnel(), |
| - using_spdy_)); |
| + using_spdy_, |
| + params_->ssl_params() != NULL)); |
| return transport_socket_->Connect(&callback_); |
| } |
| int HttpProxyConnectJob::DoHttpProxyConnectComplete(int result) { |
| - if (result == OK || result == ERR_PROXY_AUTH_REQUESTED) |
| + if (result == OK || result == ERR_PROXY_AUTH_REQUESTED || |
| + result == ERR_HTTPS_PROXY_TUNNEL_RESPONSE) { |
|
vandebo (ex-Chrome)
2010/12/16 02:24:31
nit: can you update the comment in client_socket_p
Ryan Hamilton
2010/12/16 05:23:50
Done.
|
| set_socket(transport_socket_.release()); |
| + } |
| return result; |
| } |