mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
limit session to introducer by 1 hour
This commit is contained in:
parent
5435d20199
commit
5cb691fb0b
2 changed files with 9 additions and 3 deletions
2
SSU.h
2
SSU.h
|
@ -81,6 +81,7 @@ namespace ssu
|
|||
|
||||
void SendKeepAlive ();
|
||||
uint32_t GetRelayTag () const { return m_RelayTag; };
|
||||
uint32_t GetCreationTime () const { return m_CreationTime; };
|
||||
|
||||
private:
|
||||
|
||||
|
@ -141,6 +142,7 @@ namespace ssu
|
|||
std::list<i2p::I2NPMessage *> m_DelayedMessages;
|
||||
SSUData m_Data;
|
||||
size_t m_NumSentBytes, m_NumReceivedBytes;
|
||||
uint32_t m_CreationTime; // seconds since epoch
|
||||
};
|
||||
|
||||
class SSUServer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue