mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 19:41:41 +00:00
mediam size I2NP messages
This commit is contained in:
1 parent
55b2f2c625
commit
084663d6ea
4 files changed
+16
-6
No files matched your search
@@ -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