mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use ack request instead DeliveryStatus for LeaseSet confirmation
This commit is contained in:
parent
f9175db28e
commit
e3c8f3fd6f
3 changed files with 50 additions and 24 deletions
|
@ -690,7 +690,7 @@ namespace garlic
|
|||
session = it->second;
|
||||
if (!session)
|
||||
{
|
||||
session = std::make_shared<ECIESX25519AEADRatchetSession> (this);
|
||||
session = std::make_shared<ECIESX25519AEADRatchetSession> (this, true);
|
||||
session->SetRemoteStaticKey (staticKey);
|
||||
}
|
||||
session->SetDestination (destination->GetIdentHash ()); // TODO: remove
|
||||
|
@ -920,7 +920,7 @@ namespace garlic
|
|||
m_ECIESx25519Tags.erase (tag);
|
||||
}
|
||||
else
|
||||
session = std::make_shared<ECIESX25519AEADRatchetSession> (this); // incoming
|
||||
session = std::make_shared<ECIESX25519AEADRatchetSession> (this, false); // incoming
|
||||
|
||||
if (!session->HandleNextMessage (buf, len, index))
|
||||
LogPrint (eLogError, "Garlic: can't handle ECIES-X25519-AEAD-Ratchet message");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue