Loïc Blot 1d8d01074f ClientInterface: add a function to verify (correctly) if user limit was reached (#6258)
* ClientInterface: add a function to verify (correctly) if user limit was reached

CS_HelloSent is a better indicator of active slots than CS_Created, which are session objects created after init packet reception

Switch existing checks to ClientInterface::isUserLimitReached()

Use range-based for loop for getClientIds() used function too

This will fix #6254 (not the memory overhead if init is flooded)
2017-08-16 23:48:29 +02:00
..
2017-06-27 11:54:40 +02:00
2017-07-07 22:28:23 +01:00
2017-07-07 22:28:23 +01:00
2017-08-15 09:39:58 +02:00
2017-06-22 13:20:20 +02:00
2017-08-16 08:26:04 +02:00
2017-08-16 08:26:04 +02:00
2017-07-16 10:47:31 +02:00
2017-07-07 22:28:23 +01:00
2017-04-30 00:06:13 +01:00
2017-08-12 19:37:53 +01:00
2017-08-12 19:37:53 +01:00
2017-07-07 22:28:23 +01:00
2017-04-23 14:35:08 +02:00
2017-04-23 14:35:08 +02:00
2017-06-27 11:54:40 +02:00
2017-07-07 22:28:23 +01:00
2015-08-25 18:33:52 -04:00
2016-12-20 17:17:38 +10:00
2015-12-07 13:51:41 -05:00
2015-10-26 15:14:22 +01:00
2017-08-12 19:37:53 +01:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-04-08 18:39:15 -07:00
2016-12-28 14:16:39 -08:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-06-17 19:11:28 +02:00
2017-02-08 00:15:55 +01:00
2017-07-14 20:37:58 +02:00
2017-05-10 15:29:21 +02:00
2016-06-11 23:35:17 +01:00
2016-05-01 15:32:02 +02:00
2015-12-07 13:51:41 -05:00
2015-12-07 13:51:41 -05:00
2017-07-07 22:28:23 +01:00
2017-07-07 22:28:23 +01:00
2017-03-18 12:37:57 +01:00
2017-03-18 12:37:57 +01:00
2017-07-11 01:02:22 +01:00
2017-07-05 15:39:49 +02:00
2017-07-05 15:39:49 +02:00
2017-06-27 11:54:40 +02:00
2017-06-27 11:54:40 +02:00
2017-06-14 17:21:08 +02:00
2017-06-11 13:58:26 +02:00
2017-01-18 23:21:01 +01:00
2015-03-27 15:00:48 -04:00