mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-17 15:49:57 +00:00
don't show error if stream closed
This commit is contained in:
parent
44cfe6af1c
commit
3a5a0837c7
@ -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…
x
Reference in New Issue
Block a user