teminate non-connected NTCP session

This commit is contained in:
orignal 2015-02-06 11:14:41 -05:00
parent b9e3931e80
commit 6beb527058

View File

@ -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
{