From 4fc3b8026a3751504ed3432d434e01810e135fba Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 22 Sep 2014 17:38:21 -0400 Subject: [PATCH] terminate NTCP session by timeout --- NTCPSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NTCPSession.cpp b/NTCPSession.cpp index 56aa49f5..5c9c8a8a 100644 --- a/NTCPSession.cpp +++ b/NTCPSession.cpp @@ -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 (); } }