mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
mediam size I2NP messages
This commit is contained in:
parent
55b2f2c625
commit
084663d6ea
4 changed files with 16 additions and 6 deletions
|
@ -23,7 +23,7 @@ namespace transport
|
|||
if (msg->len + fragmentSize > msg->maxLen)
|
||||
{
|
||||
LogPrint (eLogInfo, "SSU2: I2NP message size ", msg->maxLen, " is not enough");
|
||||
auto newMsg = NewI2NPMessage ();
|
||||
auto newMsg = NewI2NPMessage (msg->len + fragmentSize);
|
||||
*newMsg = *msg;
|
||||
msg = newMsg;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue