mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
make sure we are done with session before remving it
This commit is contained in:
parent
0912de5b77
commit
262a803d10
3 changed files with 9 additions and 3 deletions
|
@ -82,6 +82,7 @@ namespace transport
|
|||
|
||||
void AddSession (std::shared_ptr<SSU2Session> session);
|
||||
void RemoveSession (uint64_t connID);
|
||||
void RequestRemoveSession (uint64_t connID);
|
||||
void AddSessionByRouterHash (std::shared_ptr<SSU2Session> session);
|
||||
bool AddPendingOutgoingSession (std::shared_ptr<SSU2Session> session);
|
||||
void RemovePendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue