Browse Source

send keep-alive for newly selected introducer session

gha
orignal 3 weeks ago
parent
commit
d5c40bb6be
  1. 1
      libi2pd/SSU2.cpp

1
libi2pd/SSU2.cpp

@ -1327,6 +1327,7 @@ namespace transport @@ -1327,6 +1327,7 @@ namespace transport
LogPrint (eLogDebug, "SSU2: Introducer added ", it->GetRelayTag (), " at ",
i2p::data::GetIdentHashAbbreviation (it->GetRemoteIdentity ()->GetIdentHash ()));
newList.push_back ({ it->GetRemoteIdentity ()->GetIdentHash (), tag });
it->SendKeepAlive ();
if (newList.size () >= SSU2_MAX_NUM_INTRODUCERS) break;
}
}

Loading…
Cancel
Save