mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
terminate incoming connection by timeout
This commit is contained in:
parent
f0d6145fa6
commit
1317b80fca
@ -1065,6 +1065,8 @@ namespace transport
|
|||||||
(*it)->Terminate ();
|
(*it)->Terminate ();
|
||||||
it = m_PendingIncomingSessions.erase (it); // expired
|
it = m_PendingIncomingSessions.erase (it); // expired
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
it++;
|
||||||
}
|
}
|
||||||
|
|
||||||
ScheduleTermination ();
|
ScheduleTermination ();
|
||||||
|
Loading…
Reference in New Issue
Block a user