delete invalid sessions from peers

This commit is contained in:
orignal 2022-12-10 19:09:37 -05:00
parent 648b09d45f
commit 8320987124
2 changed files with 8 additions and 2 deletions

View file

@ -113,7 +113,8 @@ namespace transport
virtual uint32_t GetRelayTag () const { return 0; };
virtual void SendLocalRouterInfo (bool update = false) { SendI2NPMessages ({ CreateDatabaseStoreMsg () }); };
virtual void SendI2NPMessages (const std::vector<std::shared_ptr<I2NPMessage> >& msgs) = 0;
virtual bool IsEstablished () const = 0;
protected:
std::shared_ptr<const i2p::data::IdentityEx> m_RemoteIdentity;