mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
correct log message for next netdb request
This commit is contained in:
parent
c158bbe90a
commit
586695673b
|
@ -189,6 +189,7 @@ namespace data
|
||||||
direct = false; // floodfill can't be reached directly
|
direct = false; // floodfill can't be reached directly
|
||||||
if (direct)
|
if (direct)
|
||||||
{
|
{
|
||||||
|
LogPrint (eLogDebug, "NetDbReq: Try ", dest->GetDestination ().ToBase64 (), " at ", count, " floodfill ", nextFloodfill->GetIdentHash ().ToBase64 (), " directly");
|
||||||
auto msg = dest->CreateRequestMessage (nextFloodfill->GetIdentHash ());
|
auto msg = dest->CreateRequestMessage (nextFloodfill->GetIdentHash ());
|
||||||
msg->onDrop = [this, dest]() { this->SendNextRequest (dest); };
|
msg->onDrop = [this, dest]() { this->SendNextRequest (dest); };
|
||||||
i2p::transport::transports.SendMessage (nextFloodfill->GetIdentHash (), msg);
|
i2p::transport::transports.SendMessage (nextFloodfill->GetIdentHash (), msg);
|
||||||
|
@ -200,7 +201,7 @@ namespace data
|
||||||
auto inbound = pool->GetNextInboundTunnel ();
|
auto inbound = pool->GetNextInboundTunnel ();
|
||||||
if (nextFloodfill && outbound && inbound)
|
if (nextFloodfill && outbound && inbound)
|
||||||
{
|
{
|
||||||
LogPrint (eLogDebug, "NetDbReq: Try ", dest->GetDestination (), " at ", count, " floodfill ", nextFloodfill->GetIdentHash ().ToBase64 ());
|
LogPrint (eLogDebug, "NetDbReq: Try ", dest->GetDestination ().ToBase64 (), " at ", count, " floodfill ", nextFloodfill->GetIdentHash ().ToBase64 (), " through tunnels");
|
||||||
auto msg = dest->CreateRequestMessage (nextFloodfill, inbound);
|
auto msg = dest->CreateRequestMessage (nextFloodfill, inbound);
|
||||||
msg->onDrop = [this, dest]() { this->SendNextRequest (dest); };
|
msg->onDrop = [this, dest]() { this->SendNextRequest (dest); };
|
||||||
outbound->SendTunnelDataMsgTo (nextFloodfill->GetIdentHash (), 0,
|
outbound->SendTunnelDataMsgTo (nextFloodfill->GetIdentHash (), 0,
|
||||||
|
|
Loading…
Reference in a new issue