mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
update LeaseSet for ECIESX25519AEADRatchet sessions
This commit is contained in:
parent
4adc741de3
commit
3c53479864
1 changed files with 6 additions and 2 deletions
|
@ -810,8 +810,12 @@ namespace garlic
|
|||
|
||||
void GarlicDestination::SetLeaseSetUpdated ()
|
||||
{
|
||||
std::unique_lock<std::mutex> l(m_SessionsMutex);
|
||||
for (auto& it: m_Sessions)
|
||||
{
|
||||
std::unique_lock<std::mutex> l(m_SessionsMutex);
|
||||
for (auto& it: m_Sessions)
|
||||
it.second->SetLeaseSetUpdated ();
|
||||
}
|
||||
for (auto& it: m_ECIESx25519Sessions)
|
||||
it.second->SetLeaseSetUpdated ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue