mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:54:01 +01:00
Revert "minimize count of errors "I2CP: Failed to send message. No outbound tunnels""
This reverts commit 8ff2627e8e
.
This commit is contained in:
parent
3095e14247
commit
456d9e79e6
6
I2CP.cpp
6
I2CP.cpp
|
@ -104,7 +104,6 @@ namespace client
|
|||
auto path = remoteSession->GetSharedRoutingPath ();
|
||||
std::shared_ptr<i2p::tunnel::OutboundTunnel> outboundTunnel;
|
||||
std::shared_ptr<const i2p::data::Lease> remoteLease;
|
||||
bool unconfirmedTags=false;
|
||||
if (path)
|
||||
{
|
||||
if (!remoteSession->CleanupUnconfirmedTags ()) // no stuck tags
|
||||
|
@ -113,12 +112,9 @@ namespace client
|
|||
remoteLease = path->remoteLease;
|
||||
}
|
||||
else
|
||||
{
|
||||
remoteSession->SetSharedRoutingPath (nullptr);
|
||||
unconfirmedTags=true;
|
||||
}
|
||||
}
|
||||
if (!path || unconfirmedTags)
|
||||
else
|
||||
{
|
||||
outboundTunnel = GetTunnelPool ()->GetNextOutboundTunnel ();
|
||||
auto leases = remote->GetNonExpiredLeases ();
|
||||
|
|
Loading…
Reference in a new issue