mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
process session created after session request sent
This commit is contained in:
parent
463ed12ce8
commit
b5d139f7b2
1 changed files with 5 additions and 2 deletions
|
@ -386,8 +386,11 @@ namespace transport
|
||||||
auto it1 = m_PendingOutgoingSessions.find (senderEndpoint);
|
auto it1 = m_PendingOutgoingSessions.find (senderEndpoint);
|
||||||
if (it1 != m_PendingOutgoingSessions.end ())
|
if (it1 != m_PendingOutgoingSessions.end ())
|
||||||
{
|
{
|
||||||
if (it1->second->ProcessSessionCreated (buf, len))
|
if (it1->second->GetState () == eSSU2SessionStateSessionRequestSent)
|
||||||
m_PendingOutgoingSessions.erase (it1); // we are done with that endpoint
|
{
|
||||||
|
if (it1->second->ProcessSessionCreated (buf, len))
|
||||||
|
m_PendingOutgoingSessions.erase (it1); // we are done with that endpoint
|
||||||
|
}
|
||||||
else
|
else
|
||||||
it1->second->ProcessRetry (buf, len);
|
it1->second->ProcessRetry (buf, len);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue