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 3032a08bf49203ef17ae9d8565de00a437b79013..39481748424a8f94fba0f74840584d3ad7336ff1 100644 |
--- a/net/socket/ssl_client_socket_pool.cc |
+++ b/net/socket/ssl_client_socket_pool.cc |
@@ -135,7 +135,7 @@ void SSLConnectJobMessenger::OnJobFailed() { |
connecting_sockets_.push_back(ssl_socket); |
pending_sockets_and_callbacks_.EraseFirstEntry(); |
MonitorConnectionResult(ssl_socket); |
- cb.Run(); |
+ base::MessageLoopForIO::current()->PostTask(FROM_HERE, cb); |
wtc
2014/07/08 17:37:03
IMPORTANT: please make sure the task won't run if
Ryan Sleevi
2014/07/08 19:36:53
Note: You should not use base::MessageLoopForIO di
mshelley
2014/07/09 21:53:06
So I think the issue that you're referring to coul
|
} |
// Timeout for the SSL handshake portion of the connect. |