Browse Source

terminate incoming connection by timeout

pull/827/head
orignal 7 years ago
parent
commit
1317b80fca
  1. 2
      NTCPSession.cpp

2
NTCPSession.cpp

@ -1065,6 +1065,8 @@ namespace transport @@ -1065,6 +1065,8 @@ namespace transport
(*it)->Terminate ();
it = m_PendingIncomingSessions.erase (it); // expired
}
else
it++;
}
ScheduleTermination ();

Loading…
Cancel
Save