mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
SSU data receive batching
This commit is contained in:
parent
e901307d8d
commit
e3190a4ca9
5 changed files with 21 additions and 3 deletions
|
@ -258,10 +258,13 @@ namespace transport
|
|||
SendFragmentAck (msgID, fragmentNum);
|
||||
buf += fragmentSize;
|
||||
}
|
||||
if (numFragments > 0)
|
||||
m_Handler.Flush ();
|
||||
}
|
||||
|
||||
void SSUData::FlushReceivedMessage ()
|
||||
{
|
||||
m_Handler.Flush ();
|
||||
}
|
||||
|
||||
void SSUData::ProcessMessage (uint8_t * buf, size_t len)
|
||||
{
|
||||
//uint8_t * start = buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue