resend SessionRequest and SessionCreated

This commit is contained in:
orignal 2022-06-24 13:07:02 -04:00
parent 827a88d772
commit ed04747b9d
3 changed files with 45 additions and 14 deletions

View file

@ -361,7 +361,7 @@ namespace transport
case eSSU2SessionStateEstablished:
m_LastSession->ProcessData (buf, len);
break;
case eSSU2SessionStateUnknown:
case eSSU2SessionStateSessionCreatedSent:
m_LastSession->ProcessSessionConfirmed (buf, len);
break;
case eSSU2SessionStateIntroduced:
@ -650,6 +650,8 @@ namespace transport
auto ts = i2p::util::GetSecondsSinceEpoch ();
for (auto it: m_Sessions)
it.second->Resend (ts);
for (auto it: m_PendingOutgoingSessions)
it.second->Resend (ts);
ScheduleResend ();
}
}