Browse Source

Merge remote-tracking branch 'purple/openssl'

pull/771/head
Jeff Becker 8 years ago
parent
commit
d097554f7d
  1. 6
      I2PTunnel.cpp

6
I2PTunnel.cpp

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

Loading…
Cancel
Save