mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
mediam size I2NP messages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user