mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-23 05:47:17 +01: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 a new issue