mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +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 = m_PendingIncomingSessions.erase (it); // expired
|
||||
}
|
||||
else
|
||||
it++;
|
||||
}
|
||||
|
||||
ScheduleTermination ();
|
||||
|
Loading…
Reference in New Issue
Block a user