mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed send keepalive for existing session
This commit is contained in:
@@ -1002,12 +1002,11 @@ namespace transport
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (ts < session->GetCreationTime () + SSU2_TO_INTRODUCER_SESSION_EXPIRATION)
|
if (ts < session->GetCreationTime () + SSU2_TO_INTRODUCER_SESSION_EXPIRATION)
|
||||||
{
|
|
||||||
impliedList.push_back (it); // keep in introducers list, but not publish
|
impliedList.push_back (it); // keep in introducers list, but not publish
|
||||||
session->SendKeepAlive ();
|
else
|
||||||
}
|
session = nullptr;
|
||||||
session = nullptr;
|
|
||||||
}
|
}
|
||||||
|
if (session) session->SendKeepAlive ();
|
||||||
}
|
}
|
||||||
if (!session)
|
if (!session)
|
||||||
i2p::context.RemoveSSU2Introducer (it, v4);
|
i2p::context.RemoveSSU2Introducer (it, v4);
|
||||||
|
|||||||
Reference in New Issue
Block a user