From 3a5a0837c79e9edf0ae3d0d9cb8c3316130e1fef Mon Sep 17 00:00:00 2001 From: orignal Date: Tue, 14 Feb 2017 12:11:30 -0500 Subject: [PATCH] don't show error if stream closed --- I2PTunnel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I2PTunnel.cpp b/I2PTunnel.cpp index 3f22ed03..71b09e1a 100644 --- a/I2PTunnel.cpp +++ b/I2PTunnel.cpp @@ -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 ())