mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-11-15 08:37:40 +00:00
Drop for tunnel and encrypted messages
This commit is contained in:
1 parent
85f5f5b91e
commit
e40b656ecf
5 files changed
+21
-6
No files matched your search
@@ -202,6 +202,7 @@ namespace data
|
||||
{
|
||||
LogPrint (eLogDebug, "NetDbReq: Try ", dest->GetDestination (), " at ", count, " floodfill ", nextFloodfill->GetIdentHash ().ToBase64 ());
|
||||
auto msg = dest->CreateRequestMessage (nextFloodfill, inbound);
|
||||
msg->onDrop = [this, dest]() { this->SendNextRequest (dest); };
|
||||
outbound->SendTunnelDataMsgTo (nextFloodfill->GetIdentHash (), 0,
|
||||
i2p::garlic::WrapECIESX25519MessageForRouter (msg, nextFloodfill->GetIdentity ()->GetEncryptionPublicKey ()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user