mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
use common cleanup timer for all SSU sessions
This commit is contained in:
parent
31bdce1f1f
commit
8debdc264c
5 changed files with 38 additions and 48 deletions
|
@ -1004,6 +1004,12 @@ namespace transport
|
|||
}
|
||||
}
|
||||
|
||||
void SSUSession::CleanUp ()
|
||||
{
|
||||
m_Data.CleanUp ();
|
||||
// TODO: clean up m_RelayRequests
|
||||
}
|
||||
|
||||
void SSUSession::ProcessPeerTest (const uint8_t * buf, size_t len, const boost::asio::ip::udp::endpoint& senderEndpoint)
|
||||
{
|
||||
uint32_t nonce = bufbe32toh (buf); // 4 bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue