Browse Source

terminate NTCP session by timeout

pull/100/head
orignal 10 years ago
parent
commit
4fc3b8026a
  1. 2
      NTCPSession.cpp

2
NTCPSession.cpp

@ -595,7 +595,7 @@ namespace ntcp @@ -595,7 +595,7 @@ namespace ntcp
if (ecode != boost::asio::error::operation_aborted)
{
LogPrint ("No activity fo ", NTCP_TERMINATION_TIMEOUT, " seconds");
m_Socket.close ();
Terminate ();
}
}

Loading…
Cancel
Save