mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
teminate NTCP session on close completely
This commit is contained in:
parent
74d9f89c09
commit
9fe4f3adea
@ -460,7 +460,7 @@ namespace transport
|
||||
auto ntcpSession = m_NTCPServer ? m_NTCPServer->FindNTCPSession(router->GetIdentHash()) : nullptr;
|
||||
if (ntcpSession) // try deleting ntcp session too
|
||||
{
|
||||
m_NTCPServer->RemoveNTCPSession(ntcpSession);
|
||||
ntcpSession->Terminate ();
|
||||
LogPrint(eLogDebug, "Transports: NTCP session closed");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user