Merge remote-tracking branch 'purple/openssl'

This commit is contained in:
Jeff Becker 2016-12-17 15:16:58 -05:00
commit d097554f7d

View file

@ -177,11 +177,13 @@ namespace client
{
if (bytes_transferred > 0)
Write (m_StreamBuffer, bytes_transferred); // postpone termination
else
else if (ecode == boost::asio::error::timed_out && m_Stream->IsOpen ())
StreamReceive ();
else
Terminate ();
}
else
Terminate ();
Terminate ();
}
else
Write (m_StreamBuffer, bytes_transferred);