Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(614)

Unified Diff: net/socket/ssl_client_socket_openssl.cc

Issue 364943002: Makes waiting SSLConnectJobs use the message loops to resume their connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_pool.h » ('j') | net/socket/ssl_client_socket_pool.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_openssl.cc
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc
index b6f6aec10afd1c473ceffc552b9a05f5b7b563a6..5c1d8f2d054d6e59fb4f1ac74237940677f8bff4 100644
--- a/net/socket/ssl_client_socket_openssl.cc
+++ b/net/socket/ssl_client_socket_openssl.cc
@@ -393,7 +393,7 @@ void SSLClientSocketOpenSSL::SetIsLeader() {
void SSLClientSocketOpenSSL::OnSocketFailure() {
if (is_leader_)
- error_callback_.Run();
+ base::MessageLoopForIO::current()->PostTask(FROM_HERE, error_callback_);
wtc 2014/07/08 17:37:03 IMPORTANT: please verify that this task should sti
mshelley 2014/07/09 21:53:06 By "this object" do you mean the SSLClientSocketOp
Ryan Sleevi 2014/07/09 22:40:37 To be clear: The situation concerned is Precondit
}
void SSLClientSocketOpenSSL::GetSSLCertRequestInfo(
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_pool.h » ('j') | net/socket/ssl_client_socket_pool.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698