don't handle RelayRequest and RelayIntro with same nonce twice

This commit is contained in:
orignal 2024-10-27 11:55:10 -04:00
parent 7461b640e3
commit 608056dcd2
3 changed files with 33 additions and 23 deletions

View file

@ -85,7 +85,7 @@ namespace transport
bool IsSyncClockFromPeers () const { return m_IsSyncClockFromPeers; };
void AdjustTimeOffset (int64_t offset, std::shared_ptr<const i2p::data::IdentityEx> from);
void AddSession (std::shared_ptr<SSU2Session> session);
bool AddSession (std::shared_ptr<SSU2Session> session);
void RemoveSession (uint64_t connID);
void RequestRemoveSession (uint64_t connID);
void AddSessionByRouterHash (std::shared_ptr<SSU2Session> session);