Browse Source

teminate non-connected NTCP session

pull/157/head
orignal 10 years ago
parent
commit
6beb527058
  1. 4
      NTCPSession.cpp

4
NTCPSession.cpp

@ -838,10 +838,8 @@ namespace transport @@ -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
{

Loading…
Cancel
Save