mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Drop for tunnel and encrypted messages
This commit is contained in:
parent
85f5f5b91e
commit
e40b656ecf
5 changed files with 21 additions and 6 deletions
|
@ -749,6 +749,7 @@ namespace data
|
|||
if (outbound && inbound)
|
||||
{
|
||||
auto msg = dest->CreateRequestMessage (floodfill, inbound);
|
||||
msg->onDrop = [this, dest]() { this->m_Requests.SendNextRequest (dest); };
|
||||
outbound->SendTunnelDataMsgTo (floodfill->GetIdentHash (), 0,
|
||||
i2p::garlic::WrapECIESX25519MessageForRouter (msg, floodfill->GetIdentity ()->GetEncryptionPublicKey ()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue