mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Merge branch 'upstream-openssl' into restricted_routes
This commit is contained in:
commit
a7c955055c
5 changed files with 11 additions and 9 deletions
|
@ -470,12 +470,11 @@ namespace transport
|
|||
{
|
||||
m_SSUServer->DeleteSession (ssuSession);
|
||||
LogPrint (eLogDebug, "Transports: SSU session closed");
|
||||
}
|
||||
// TODO: delete NTCP
|
||||
}
|
||||
auto ntcpSession = m_NTCPServer ? m_NTCPServer->FindNTCPSession(router->GetIdentHash()) : nullptr;
|
||||
if (ntcpSession)
|
||||
if (ntcpSession) // try deleting ntcp session too
|
||||
{
|
||||
m_NTCPServer->RemoveNTCPSession(ntcpSession);
|
||||
ntcpSession->Terminate ();
|
||||
LogPrint(eLogDebug, "Transports: NTCP session closed");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue