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
|
@ -62,6 +62,7 @@ namespace transport
|
|||
}
|
||||
|
||||
virtual ~TransportSession () { delete m_DHKeysPair; };
|
||||
virtual void Terminate () = 0;
|
||||
|
||||
std::shared_ptr<const i2p::data::RouterInfo> GetRemoteRouter () { return m_RemoteRouter; };
|
||||
const i2p::data::IdentityEx& GetRemoteIdentity () { return m_RemoteIdentity; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue