terminate NTCP session by timeout

This commit is contained in:
orignal 2014-09-22 17:38:21 -04:00
parent 1d9fdca9ce
commit 4fc3b8026a

View File

@ -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 ();
}
}