Browse Source

don't show error if stream closed

pull/805/head
orignal 8 years ago
parent
commit
3a5a0837c7
  1. 2
      I2PTunnel.cpp

2
I2PTunnel.cpp

@ -187,9 +187,9 @@ namespace client @@ -187,9 +187,9 @@ namespace client
{
if (ecode)
{
LogPrint (eLogError, "I2PTunnel: stream read error: ", ecode.message ());
if (ecode != boost::asio::error::operation_aborted)
{
LogPrint (eLogError, "I2PTunnel: stream read error: ", ecode.message ());
if (bytes_transferred > 0)
Write (m_StreamBuffer, bytes_transferred); // postpone termination
else if (ecode == boost::asio::error::timed_out && m_Stream && m_Stream->IsOpen ())

Loading…
Cancel
Save