mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
send keep-alive for newly selected introducer session
This commit is contained in:
parent
eed48c43fd
commit
d5c40bb6be
|
@ -1327,6 +1327,7 @@ namespace transport
|
||||||
LogPrint (eLogDebug, "SSU2: Introducer added ", it->GetRelayTag (), " at ",
|
LogPrint (eLogDebug, "SSU2: Introducer added ", it->GetRelayTag (), " at ",
|
||||||
i2p::data::GetIdentHashAbbreviation (it->GetRemoteIdentity ()->GetIdentHash ()));
|
i2p::data::GetIdentHashAbbreviation (it->GetRemoteIdentity ()->GetIdentHash ()));
|
||||||
newList.push_back ({ it->GetRemoteIdentity ()->GetIdentHash (), tag });
|
newList.push_back ({ it->GetRemoteIdentity ()->GetIdentHash (), tag });
|
||||||
|
it->SendKeepAlive ();
|
||||||
if (newList.size () >= SSU2_MAX_NUM_INTRODUCERS) break;
|
if (newList.size () >= SSU2_MAX_NUM_INTRODUCERS) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue