mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
drop second incoming connection with same identity
This commit is contained in:
@@ -759,6 +759,11 @@ namespace transport
|
||||
transports.PeerDisconnected (shared_from_this ());
|
||||
}
|
||||
|
||||
void SSUSession::Terminate ()
|
||||
{
|
||||
m_Server.DeleteSession (shared_from_this ());
|
||||
}
|
||||
|
||||
void SSUSession::Established ()
|
||||
{
|
||||
m_State = eSessionStateEstablished;
|
||||
|
||||
Reference in New Issue
Block a user