SSU2 connect timer

This commit is contained in:
orignal 2022-06-19 16:40:03 -04:00
parent c348736058
commit 2a5cf3e4a8
3 changed files with 48 additions and 7 deletions

View file

@ -433,7 +433,7 @@ namespace transport
if (!session) return;
auto address = session->GetAddress ();
if (!address) return;
session->SetState (eSSU2SessionStateIntroduced);
session->WaitForIntroduction ();
// try to find existing session first
for (auto& it: address->ssu->introducers)
{