|
|
|
@ -906,11 +906,8 @@ namespace llarp
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(p == nullptr)
|
|
|
|
|
if(p)
|
|
|
|
|
{
|
|
|
|
|
llarp::LogError("no path found");
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
// TODO: check expiration of our end
|
|
|
|
|
ProtocolMessage m(f.T);
|
|
|
|
|
m.proto = t;
|
|
|
|
@ -931,6 +928,7 @@ namespace llarp
|
|
|
|
|
return p->SendRoutingMessage(&transfer, Router());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(HasPathToService(remote))
|
|
|
|
|
{
|
|
|
|
|
llarp::LogDebug(Name(), " has session to ", remote, " sending ",
|
|
|
|
@ -1242,7 +1240,7 @@ namespace llarp
|
|
|
|
|
f.T = *tags.begin();
|
|
|
|
|
f.S = m_Endpoint->GetSeqNoForConvo(f.T);
|
|
|
|
|
|
|
|
|
|
auto path = m_PathSet->GetPathByRouter(remoteIntro.router);
|
|
|
|
|
auto path = m_PathSet->GetNewestPathByRouter(remoteIntro.router);
|
|
|
|
|
if(!path)
|
|
|
|
|
{
|
|
|
|
|
llarp::LogError("cannot encrypt and send: no path for intro ",
|
|
|
|
|