drop second incoming connection with same identity

This commit is contained in:
orignal 2015-02-06 16:03:47 -05:00
parent 8e75d8c39a
commit 0518b08ca6
4 changed files with 19 additions and 4 deletions

View file

@ -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;