mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-10 20:47:53 +00:00
process retry as reponse to relay request
This commit is contained in:
parent
5e3115a614
commit
f5ed9129cd
@ -409,11 +409,9 @@ 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->GetState () == eSSU2SessionStateSessionRequestSent)
|
if (it1->second->GetState () == eSSU2SessionStateSessionRequestSent &&
|
||||||
{
|
it1->second->ProcessSessionCreated (buf, len))
|
||||||
if (it1->second->ProcessSessionCreated (buf, len))
|
m_PendingOutgoingSessions.erase (it1); // we are done with that endpoint
|
||||||
m_PendingOutgoingSessions.erase (it1); // we are done with that endpoint
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
it1->second->ProcessRetry (buf, len);
|
it1->second->ProcessRetry (buf, len);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user