mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check sequence of fragments
This commit is contained in:
parent
ca6f12a8f1
commit
4e09b39735
2 changed files with 30 additions and 12 deletions
|
@ -26,7 +26,12 @@ namespace tunnel
|
|||
|
||||
private:
|
||||
|
||||
std::map<uint32_t, TunnelMessageBlock> m_IncompleteMessages;
|
||||
struct TunnelMessageBlockEx: public TunnelMessageBlock
|
||||
{
|
||||
uint8_t nextFragmentNum;
|
||||
};
|
||||
|
||||
std::map<uint32_t, TunnelMessageBlockEx> m_IncompleteMessages;
|
||||
size_t m_NumReceivedBytes;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue