diff options
Diffstat (limited to 'remoting/jingle_glue/stream_socket_adapter.cc')
-rw-r--r-- | remoting/jingle_glue/stream_socket_adapter.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/jingle_glue/stream_socket_adapter.cc b/remoting/jingle_glue/stream_socket_adapter.cc index cb84941..3155328 100644 --- a/remoting/jingle_glue/stream_socket_adapter.cc +++ b/remoting/jingle_glue/stream_socket_adapter.cc @@ -65,6 +65,7 @@ int StreamSocketAdapter::Write( if (result == net::ERR_CONNECTION_CLOSED && stream_->GetState() == talk_base::SS_OPENING) result = net::ERR_IO_PENDING; + if (result == net::ERR_IO_PENDING) { write_pending_ = true; write_callback_ = callback; |