From 6beb527058f38f5ccdd915b684b2608d80c0630f Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 6 Feb 2015 11:14:41 -0500 Subject: [PATCH] teminate non-connected NTCP session --- NTCPSession.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/NTCPSession.cpp b/NTCPSession.cpp index 83e43c18..6f4ebfb0 100644 --- a/NTCPSession.cpp +++ b/NTCPSession.cpp @@ -838,10 +838,8 @@ namespace transport { LogPrint (eLogError, "Connect error: ", ecode.message ()); if (ecode != boost::asio::error::operation_aborted) - { i2p::data::netdb.SetUnreachable (conn->GetRemoteIdentity ().GetIdentHash (), true); - conn->Terminate (); - } + conn->Terminate (); } else {