Index: net/socket/ssl_client_socket_pool.cc |
diff --git a/net/socket/ssl_client_socket_pool.cc b/net/socket/ssl_client_socket_pool.cc |
index 6643ef4e3af0ac5e00c9c0b27f31b37e278abd1d..dab60c3b42d07cec5c741f3085a9627f0faeedf6 100644 |
--- a/net/socket/ssl_client_socket_pool.cc |
+++ b/net/socket/ssl_client_socket_pool.cc |
@@ -244,6 +244,14 @@ void SSLConnectJob::GetAdditionalErrorState(ClientSocketHandle* handle) { |
handle->set_ssl_error_response_info(error_response_info_); |
if (!connect_timing_.ssl_start.is_null()) |
handle->set_is_ssl_error(true); |
+ |
+ // If there were any failures establishing the underlying TCP connection, |
+ // pass them on. |
+ if (transport_socket_handle_) { |
+ std::vector<ClientSocketHandle::ConnectionAttempt> attempts; |
+ attempts = transport_socket_handle_->connection_attempts(); |
+ handle->set_connection_attempts(attempts); |
Ryan Hamilton
2015/03/12 20:06:04
Can you simply do this:
handle->set_connection_at
Deprecated (see juliatuttle)
2015/03/16 15:53:53
Done.
|
+ } |
} |
void SSLConnectJob::OnIOComplete(int result) { |