mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
precalculate padding sizes
This commit is contained in:
parent
cd0751d3f1
commit
0cd9f1b002
2 changed files with 14 additions and 2 deletions
|
@ -218,6 +218,9 @@ namespace transport
|
|||
bool m_IsSending;
|
||||
std::list<std::shared_ptr<I2NPMessage> > m_SendQueue;
|
||||
uint64_t m_NextRouterInfoResendTime; // seconds since epoch
|
||||
|
||||
uint16_t m_PaddingSizes[16];
|
||||
int m_NextPaddingSize;
|
||||
};
|
||||
|
||||
class NTCP2Server: private i2p::util::RunnableServiceWithWork
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue