mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
send ack per fragment. temporary disble check for duplicated through IV
This commit is contained in:
parent
05a96fd398
commit
2f601ce02f
3 changed files with 38 additions and 4 deletions
4
SSU.cpp
4
SSU.cpp
|
@ -84,10 +84,10 @@ namespace ssu
|
|||
else
|
||||
{
|
||||
ScheduleTermination ();
|
||||
// check for duplicate
|
||||
/* // check for duplicate
|
||||
const uint8_t * iv = ((SSUHeader *)buf)->iv;
|
||||
if (m_ReceivedIVs.count (iv)) return; // duplicate detected
|
||||
m_ReceivedIVs.insert (iv);
|
||||
m_ReceivedIVs.insert (iv);*/
|
||||
|
||||
if (m_IsSessionKey && Validate (buf, len, m_MacKey)) // try session key first
|
||||
DecryptSessionKey (buf, len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue