mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
delete unconfirmed LeaseSet and DeliveryStatus
This commit is contained in:
parent
45145fa50a
commit
b5bc05ac2b
4 changed files with 21 additions and 9 deletions
|
@ -571,6 +571,12 @@ namespace garlic
|
|||
}
|
||||
m_NumReceiveTags += numTags;
|
||||
}
|
||||
|
||||
bool ECIESX25519AEADRatchetSession::CheckExpired (uint64_t ts)
|
||||
{
|
||||
CleanupUnconfirmedLeaseSet (ts);
|
||||
return ts > m_LastActivityTimestamp + ECIESX25519_EXPIRATION_TIMEOUT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue