Chromium Code Reviews| Index: remoting/protocol/jingle_session.cc |
| diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc |
| index 90aaf0813a72c38ea4a3b8b2e526ddc47c99f246..91565a0eb630aa99a6735d1f4557db66ef916d9c 100644 |
| --- a/remoting/protocol/jingle_session.cc |
| +++ b/remoting/protocol/jingle_session.cc |
| @@ -400,11 +400,11 @@ bool JingleSession::EstablishSSLConnection( |
| } else { |
| // Create server SSL socket. |
| net::SSLConfig ssl_config; |
| - net::SSLServerSocket* socket = net::CreateSSLServerSocket( |
| + net::StreamSocket* socket = net::CreateSSLServerSocket( |
|
wtc
2011/06/02 23:12:58
Change this back to SSLServerSocket.
Wez
2011/06/03 17:47:07
Done.
|
| pseudotcp, server_cert_, key_.get(), ssl_config); |
| ssl_socket->reset(new SocketWrapper(socket)); |
| - int ret = socket->Accept(&ssl_connect_callback_); |
| + int ret = socket->Connect(&ssl_connect_callback_); |
|
willchan no longer on Chromium
2011/06/03 10:23:44
I don't believe we should make this change. Use Ac
Wez
2011/06/03 17:47:07
I chose to re-use Connect() for three reasons:
1.
wtc
2011/06/03 18:03:40
I agree with willchan's comment and wez's comment
|
| if (ret == net::ERR_IO_PENDING) { |
| return true; |
| } else if (ret != net::OK) { |