Willy Tarreau
c365e47095
BUG/MEDIUM: threads/config: drop absent threads from thread groups
...
Thread groups can be assigned arbitrary thread ranges, but if the
mentioned threads do not exist, this causes crashes in listener_accept()
or some connections to be ignored. The reason is that the calculated
mask is derived from the thread group's enabled threads count. Examples:
global
nbthread 2
thread-groups 2
thread-group 1 1-64
thread-group 2 65-128
frontend f-crash
bind :8001 thread 1/all
frontend f-freeze
bind :8002 thread 2/all
This commit removes missing threads, emits a warning when the thread
group just has less threads than requested, and an error when it is
left with no threads at all.
This must be backported to 3.1 since the issue is present there already.
2025-10-17 20:36:00 +02:00
..
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-05 11:32:20 +02:00
2025-10-17 19:00:21 +02:00
2025-09-11 16:32:34 +02:00
2025-10-10 14:41:15 +02:00
2024-10-18 14:30:24 +02:00
2025-02-06 16:55:37 +01:00
2025-10-08 10:29:41 +02:00
2024-10-18 18:28:39 +02:00
2025-10-08 11:10:42 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2024-09-15 23:44:59 +02:00
2025-01-20 17:53:55 +01:00
2025-10-17 19:00:21 +02:00
2025-09-16 09:23:46 +02:00
2025-10-17 19:00:21 +02:00
2025-10-17 19:00:21 +02:00
2025-09-17 17:19:33 +02:00
2025-10-17 19:00:21 +02:00
2024-09-30 11:36:39 +02:00
2025-09-18 16:49:51 +02:00
2025-01-29 17:55:18 +01:00
2025-09-16 09:23:46 +02:00
2025-08-07 22:27:09 +02:00
2025-08-11 19:55:30 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-07-17 19:07:58 +02:00
2025-09-06 11:05:52 +02:00
2025-09-11 16:32:34 +02:00
2024-11-18 18:50:02 +01:00
2024-07-09 16:46:38 +02:00
2025-09-10 16:48:09 +02:00
2025-08-11 19:55:30 +02:00
2025-09-17 14:30:32 +02:00
2025-09-17 14:30:32 +02:00
2025-01-07 16:42:38 +01:00
2025-02-26 13:00:18 +01:00
2025-02-26 13:00:18 +01:00
2025-02-26 13:00:18 +01:00
2024-05-24 12:07:18 +02:00
2024-05-24 12:07:18 +02:00
2025-08-11 19:55:30 +02:00
2024-11-15 15:39:00 +01:00
2025-09-18 16:49:51 +02:00
2025-08-11 19:55:30 +02:00
2025-10-08 11:10:42 +02:00
2025-08-11 19:55:30 +02:00
2025-10-08 11:10:42 +02:00
2025-08-26 16:12:18 +02:00
2025-02-06 17:01:15 +01:00
2025-07-29 18:04:14 +02:00
2025-07-25 16:46:10 +02:00
2025-09-16 09:23:46 +02:00
2025-10-08 11:10:42 +02:00
2025-05-16 15:13:17 +02:00
2025-10-02 15:29:58 +02:00
2025-10-08 11:01:36 +02:00
2025-09-08 16:04:40 +02:00
2025-08-11 19:55:30 +02:00
2025-10-08 11:10:25 +02:00
2025-09-09 16:55:09 +02:00
2025-09-18 16:49:51 +02:00
2025-10-08 10:29:41 +02:00
2025-09-19 14:59:28 +02:00
2024-11-06 10:06:52 +01:00
2025-04-02 11:12:20 +02:00
2025-10-08 11:10:25 +02:00
2025-01-03 10:10:09 +01:00
2024-11-19 15:20:02 +01:00
2024-11-19 15:29:40 +01:00
2025-07-24 12:13:42 +02:00
2025-01-31 15:51:51 +01:00
2025-08-07 22:27:14 +02:00
2025-09-11 14:31:32 +02:00
2025-10-13 10:38:52 +02:00
2025-10-16 10:43:09 +02:00
2025-01-28 12:49:41 +01:00
2025-10-01 18:13:33 +02:00
2025-04-17 17:38:23 +02:00
2025-01-28 12:49:41 +01:00
2025-04-03 11:37:25 +02:00
2025-09-05 08:51:07 +02:00
2025-09-18 16:49:51 +02:00
2025-09-18 16:49:51 +02:00
2025-06-27 16:41:18 +02:00
2025-04-24 15:09:37 +02:00
2025-10-06 09:30:07 +02:00
2024-08-30 14:58:59 +02:00
2025-10-08 11:10:42 +02:00
2025-10-10 11:16:21 +02:00
2025-10-08 11:10:42 +02:00
2025-08-20 18:33:10 +02:00
2025-09-16 09:23:46 +02:00
2025-09-16 09:23:46 +02:00
2025-08-20 17:15:52 +02:00
2024-12-10 08:05:34 +01:00
2025-09-25 15:28:22 +02:00
2025-07-01 11:55:36 +02:00
2025-09-10 19:14:05 +02:00
2025-08-11 19:55:30 +02:00
2025-10-16 08:41:32 +02:00
2025-06-12 11:25:12 +02:00
2025-09-05 15:56:42 +02:00
2024-11-25 15:20:24 +01:00
2025-09-17 17:19:33 +02:00
2024-08-21 17:37:46 +02:00
2024-10-29 12:14:50 +01:00
2025-06-11 18:37:34 +02:00
2024-08-30 18:53:49 +02:00
2025-10-08 10:29:41 +02:00
2025-10-08 11:10:42 +02:00
2025-06-12 11:28:54 +02:00
2025-07-15 18:39:23 +02:00
2025-08-11 19:55:30 +02:00
2025-08-11 19:55:30 +02:00
2025-04-29 15:10:06 +02:00
2025-04-29 15:10:06 +02:00
2024-12-13 14:42:43 +01:00
2025-04-29 15:10:06 +02:00
2025-04-29 15:10:06 +02:00
2025-05-21 14:44:27 +02:00
2024-09-03 17:49:21 +02:00
2025-10-17 09:29:01 +02:00
2025-10-17 12:13:43 +02:00
2025-10-15 09:58:03 +02:00
2025-08-28 08:19:34 +02:00
2025-01-31 15:34:30 +01:00
2025-08-07 16:59:59 +02:00
2025-01-23 17:41:07 +01:00
2025-08-07 16:59:59 +02:00
2025-06-26 09:48:00 +02:00
2025-01-27 11:11:43 +01:00
2025-09-11 09:51:28 +02:00
2025-09-11 09:51:28 +02:00
2025-10-17 12:13:43 +02:00
2025-08-11 19:55:30 +02:00
2025-08-11 19:55:30 +02:00
2024-08-30 17:04:09 +02:00
2025-06-27 07:59:12 +02:00
2025-08-07 16:59:59 +02:00
2025-10-17 09:29:01 +02:00
2025-10-01 10:23:01 +02:00
2025-10-13 16:56:43 +02:00
2025-10-03 09:08:10 +02:00
2025-09-18 15:27:32 +02:00
2025-10-13 10:38:52 +02:00
2025-09-18 16:49:51 +02:00
2025-10-17 19:00:21 +02:00
2025-09-18 16:49:51 +02:00
2025-08-11 19:55:30 +02:00
2025-10-03 14:31:05 +02:00
2025-05-16 16:43:53 +02:00
2025-07-29 18:04:14 +02:00
2024-10-29 12:15:24 +01:00
2025-08-08 06:01:18 +02:00
2025-10-13 10:38:52 +02:00
2025-09-11 09:51:28 +02:00
2025-08-11 17:42:16 +02:00
2025-07-09 16:01:02 +02:00
2025-09-15 15:34:36 +02:00
2025-10-01 10:18:53 +02:00
2025-10-17 12:13:43 +02:00
2025-09-11 14:31:32 +02:00
2025-07-24 10:58:54 +02:00
2025-09-18 16:49:51 +02:00
2025-08-28 18:58:11 +02:00
2025-02-06 17:19:49 +01:00
2025-08-28 18:58:11 +02:00
2025-07-05 00:12:45 +02:00
2025-10-10 11:11:44 +02:00
2025-10-16 23:46:37 +02:00
2025-10-08 11:10:42 +02:00
2024-11-25 08:09:09 +01:00
2025-10-01 10:18:53 +02:00
2025-09-18 16:49:51 +02:00
2025-09-18 16:49:51 +02:00
2025-04-02 14:57:40 +02:00
2025-09-09 16:55:09 +02:00
2025-10-17 20:36:00 +02:00
2025-09-16 10:41:19 +02:00
2025-09-18 08:31:57 +02:00
2024-11-14 15:03:38 +01:00
2024-07-18 13:29:52 +02:00
2025-09-16 10:51:23 +02:00
2025-01-20 17:53:55 +01:00
2025-10-01 10:18:53 +02:00
2025-08-20 17:28:03 +02:00
2025-09-04 20:49:06 +02:00