mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-05-14 18:25:18 +00:00
adjust mtu before SessionRequest
This commit is contained in:
@@ -106,6 +106,7 @@ namespace transport
|
||||
RAND_bytes ((uint8_t *)&m_DestConnID, 8);
|
||||
RAND_bytes ((uint8_t *)&m_SourceConnID, 8);
|
||||
}
|
||||
AdjustMaxPayloadSize ();
|
||||
}
|
||||
|
||||
SSU2Session::~SSU2Session ()
|
||||
@@ -1083,7 +1084,6 @@ namespace transport
|
||||
HandlePayload (decryptedPayload.data (), decryptedPayload.size ());
|
||||
|
||||
m_Server.AddSession (shared_from_this ());
|
||||
AdjustMaxPayloadSize ();
|
||||
SendSessionConfirmed (headerX + 16);
|
||||
KDFDataPhase (m_KeyDataSend, m_KeyDataReceive);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user