mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
fixed send keepalive for existing session
This commit is contained in:
parent
4aa631c33f
commit
2064504cce
|
@ -1002,12 +1002,11 @@ namespace transport
|
|||
else
|
||||
{
|
||||
if (ts < session->GetCreationTime () + SSU2_TO_INTRODUCER_SESSION_EXPIRATION)
|
||||
{
|
||||
impliedList.push_back (it); // keep in introducers list, but not publish
|
||||
session->SendKeepAlive ();
|
||||
}
|
||||
else
|
||||
session = nullptr;
|
||||
}
|
||||
if (session) session->SendKeepAlive ();
|
||||
}
|
||||
if (!session)
|
||||
i2p::context.RemoveSSU2Introducer (it, v4);
|
||||
|
|
Loading…
Reference in a new issue