mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
drop second incoming connection with same identity
This commit is contained in:
parent
8e75d8c39a
commit
0518b08ca6
4 changed files with 19 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue