Browse Source

don't close streams after 1 hour

pull/742/head
R4SAS 8 years ago
parent
commit
8b8007695c
  1. 2
      I2PTunnel.cpp

2
I2PTunnel.cpp

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

Loading…
Cancel
Save