mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-10 05:11:10 +00:00
improved exploratory
This commit is contained in:
parent
a4526db9bf
commit
2640dff22a
@ -481,6 +481,8 @@ namespace data
|
|||||||
dest->GetLastRouter ()->GetIdentHash (), 0, msg
|
dest->GetLastRouter ()->GetIdentHash (), 0, msg
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
RequestDestination (router, false, pool);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint ("Bayan");
|
LogPrint ("Bayan");
|
||||||
|
@ -273,12 +273,12 @@ namespace tunnel
|
|||||||
OutboundTunnel * tunnel = nullptr;
|
OutboundTunnel * tunnel = nullptr;
|
||||||
for (auto it: m_OutboundTunnels)
|
for (auto it: m_OutboundTunnels)
|
||||||
{
|
{
|
||||||
if (i >= ind) break;
|
|
||||||
if (it->IsEstablished ())
|
if (it->IsEstablished ())
|
||||||
{
|
{
|
||||||
tunnel = it;
|
tunnel = it;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
if (i >= ind) break;
|
||||||
}
|
}
|
||||||
return tunnel;
|
return tunnel;
|
||||||
}
|
}
|
||||||
|
@ -97,12 +97,12 @@ namespace tunnel
|
|||||||
typename TTunnels::value_type tunnel = nullptr;
|
typename TTunnels::value_type tunnel = nullptr;
|
||||||
for (auto it: tunnels)
|
for (auto it: tunnels)
|
||||||
{
|
{
|
||||||
if (i >= ind) break;
|
|
||||||
if (it->IsEstablished ())
|
if (it->IsEstablished ())
|
||||||
{
|
{
|
||||||
tunnel = it;
|
tunnel = it;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
if (i >= ind) break;
|
||||||
}
|
}
|
||||||
return tunnel;
|
return tunnel;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user