mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
update token and conn id after HolePunch
This commit is contained in:
parent
72b61a29c2
commit
d3bc9eb110
3 changed files with 35 additions and 10 deletions
|
@ -53,6 +53,7 @@ namespace transport
|
|||
|
||||
void AddSession (std::shared_ptr<SSU2Session> session);
|
||||
void RemoveSession (uint64_t connID);
|
||||
void UpdateSessionConnID (uint64_t oldConnID); // session has new 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