mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
adjust MTU for incoming SSU sessions
This commit is contained in:
parent
cb46d63058
commit
1441c1371b
3 changed files with 38 additions and 20 deletions
1
SSU.cpp
1
SSU.cpp
|
@ -236,6 +236,7 @@ namespace ssu
|
|||
i2p::data::Identity ident;
|
||||
ident.FromBuffer (payload, identitySize);
|
||||
m_RemoteIdent = ident.Hash ();
|
||||
m_Data.UpdatePacketSize (m_RemoteIdent);
|
||||
}
|
||||
else
|
||||
LogPrint ("SSU unexpected identity size ", identitySize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue