mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
use I2NPMessagesHandler for SSU
This commit is contained in:
parent
aae837f642
commit
0b911a5caa
@ -235,7 +235,7 @@ namespace transport
|
||||
{
|
||||
if (m_ReceivedMessages.size () > 100) m_ReceivedMessages.clear ();
|
||||
m_ReceivedMessages.insert (msgID);
|
||||
i2p::HandleI2NPMessage (msg);
|
||||
m_Handler.PutNextMessage (msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -260,6 +260,8 @@ namespace transport
|
||||
SendFragmentAck (msgID, fragmentNum);
|
||||
buf += fragmentSize;
|
||||
}
|
||||
if (numFragments > 0)
|
||||
m_Handler.Flush ();
|
||||
}
|
||||
|
||||
void SSUData::ProcessMessage (uint8_t * buf, size_t len)
|
||||
|
Loading…
Reference in New Issue
Block a user