Christopher Faulet
0a52a75ef7
BUG/MINOR: stream: Properly handle "on-marked-up shutdown-backup-sessions"
...
shutdown-backup-sessions action for on-marked-up directive does not work anymore
since the stream_shutdown() function was modified to be async-safe.
When stream_shutdown() was modified to be async-safe, dedicated task events were
added to map the reasons to shut a stream down. SF_ERR_DOWN was mapped to
TASK_F_EVT1 and SF_ERR_KILLED was mapped to TASK_F_EVT2. The reverse mapping was
performed by process_stream() to shut the stream with the appropriate reason.
However, SF_ERR_UP reason, used by shutdown-backup-sessions action to shut a
stream down because a preferred server became available, was not mapped in the
same way. So since commit b8e3b0a18d ("BUG/MEDIUM: stream: make
stream_shutdown() async-safe"), this action is ignored and does not work
anymore.
To fix an issue, and being able to bakcport the fix, a third task event was
added. TASK_F_EVT3 is now mapped on SF_ERR_UP.
This patch should fix the issue #2848 . It must be backported as far as 2.6.
2025-01-28 14:53:37 +01:00
..
2024-11-18 15:15:54 +01:00
2024-11-22 09:42:49 +01:00
2024-07-12 15:27:04 +02:00
2024-10-18 14:30:24 +02:00
2025-01-28 12:49:41 +01:00
2024-10-18 18:28:39 +02:00
2024-12-17 17:42:11 +01:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2024-09-15 23:44:59 +02:00
2025-01-20 17:53:55 +01:00
2024-12-12 11:19:10 +01:00
2024-12-05 22:02:58 +01:00
2025-01-23 17:40:48 +01:00
2024-06-14 11:36:52 +02:00
2025-01-02 14:31:07 +01:00
2025-01-28 12:49:41 +01:00
2024-09-30 11:36:39 +02:00
2025-01-28 12:49:41 +01:00
2024-11-15 17:15:06 +01:00
2024-12-13 18:13:42 +01:00
2024-11-15 16:01:31 +01:00
2025-01-02 14:31:07 +01:00
2024-11-05 18:57:43 +01:00
2024-04-02 07:27:33 +02:00
2025-01-24 09:54:57 +01:00
2024-11-18 18:50:02 +01:00
2024-07-09 16:46:38 +02:00
2024-08-21 17:36:58 +02:00
2024-11-18 19:07:05 +01:00
2025-01-07 16:42:38 +01:00
2025-01-27 15:47:46 +01:00
2024-09-12 17:47:13 +02:00
2024-09-12 17:47:13 +02:00
2024-05-24 12:07:18 +02:00
2024-05-24 12:07:18 +02:00
2024-11-29 10:18:07 +01:00
2024-11-15 15:39:00 +01:00
2025-01-27 11:11:43 +01:00
2024-07-15 19:19:13 +02:00
2024-10-31 20:24:37 +01:00
2024-09-02 15:50:25 +02:00
2024-05-10 17:18:13 +02:00
2025-01-28 12:49:41 +01:00
2024-10-29 12:14:50 +01:00
2024-11-07 18:17:03 +01:00
2025-01-08 18:20:26 +01:00
2024-09-16 22:55:25 +02:00
2024-11-20 17:44:22 +01:00
2024-05-16 10:31:17 +02:00
2025-01-03 17:21:19 +01:00
2025-01-28 12:49:41 +01:00
2025-01-28 12:49:41 +01:00
2024-12-20 17:34:05 +01:00
2025-01-03 17:19:21 +01:00
2024-11-26 16:12:05 +01:00
2025-01-27 11:11:43 +01:00
2024-10-17 12:16:35 +02:00
2024-11-06 10:06:52 +01:00
2024-10-17 17:25:06 +02:00
2024-12-11 10:00:01 +01: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
2023-11-23 16:23:14 +01:00
2024-07-26 16:59:00 +02:00
2025-01-28 12:49:41 +01:00
2025-01-28 12:49:41 +01:00
2025-01-28 12:49:41 +01:00
2025-01-28 12:49:41 +01:00
2025-01-28 12:49:41 +01:00
2024-03-29 17:08:37 +01:00
2024-12-16 10:44:01 +01:00
2024-11-21 19:55:21 +01:00
2025-01-23 17:40:48 +01:00
2025-01-03 09:44:08 +01:00
2024-04-13 08:43:12 +02:00
2024-11-15 15:39:58 +01:00
2024-11-26 16:12:05 +01:00
2024-08-30 14:58:59 +02:00
2024-12-17 17:47:57 +01:00
2025-01-23 11:05:48 +01:00
2025-01-02 09:58:23 +01:00
2024-09-03 15:25:05 +02:00
2025-01-23 17:40:22 +01:00
2024-12-06 18:02:55 +01:00
2024-11-19 14:13:30 +01:00
2025-01-07 16:42:38 +01:00
2024-12-10 08:05:34 +01:00
2024-11-29 07:22:25 +01:00
2024-12-05 12:15:24 +01:00
2025-01-02 14:31:07 +01:00
2024-12-06 18:34:10 +01:00
2024-08-21 17:37:46 +02:00
2024-11-25 15:20:24 +01:00
2024-08-30 18:53:49 +02:00
2024-08-21 17:37:46 +02:00
2024-10-29 12:14:50 +01:00
2024-10-29 12:14:50 +01:00
2024-08-30 18:53:49 +02:00
2025-01-28 12:49:41 +01:00
2023-12-21 15:42:08 +01:00
2024-08-22 17:48:23 +02:00
2024-05-16 10:31:17 +02:00
2024-01-29 15:40:19 +01:00
2025-01-28 12:49:41 +01:00
2024-02-05 14:31:21 +01:00
2025-01-23 14:49:35 +01:00
2025-01-23 14:49:35 +01:00
2024-12-13 14:42:43 +01:00
2025-01-23 14:49:35 +01:00
2024-11-21 11:33:44 +01:00
2025-01-23 17:40:48 +01:00
2024-09-03 17:49:21 +02:00
2024-11-26 14:55:30 +01:00
2025-01-23 17:40:48 +01:00
2024-01-31 16:28:54 +01:00
2024-10-04 17:56:45 +02:00
2025-01-21 22:01:34 +01:00
2024-01-16 10:17:27 +01:00
2025-01-23 17:41:07 +01:00
2024-10-04 17:56:45 +02:00
2024-08-30 17:04:09 +02:00
2025-01-27 11:11:43 +01:00
2025-01-23 14:49:35 +01:00
2024-12-17 17:47:57 +01:00
2024-10-17 15:04:06 +02:00
2024-04-26 10:20:57 +02:00
2024-10-09 17:47:16 +02:00
2024-10-01 16:19:25 +02:00
2024-08-30 17:04:09 +02:00
2024-04-06 00:07:49 +02:00
2024-10-04 17:56:45 +02:00
2025-01-23 17:40:20 +01:00
2024-11-05 18:57:43 +01:00
2025-01-06 09:08:38 +01:00
2024-07-24 17:59:03 +02:00
2024-11-18 16:11:55 +01:00
2024-12-11 10:00:01 +01:00
2025-01-28 12:49:41 +01:00
2024-10-29 12:14:37 +01:00
2024-05-21 17:55:03 +02:00
2024-12-02 17:28:04 +01:00
2025-01-20 12:33:20 +01:00
2024-08-30 18:53:49 +02:00
2024-10-29 12:15:24 +01:00
2024-11-27 12:16:25 +01:00
2024-12-19 10:53:05 +01:00
2024-07-30 18:53:08 +02:00
2024-12-10 08:05:42 +01:00
2025-01-24 12:31:07 +01:00
2025-01-07 15:19:42 +01:00
2024-08-26 15:17:40 +02:00
2025-01-24 12:31:07 +01:00
2024-12-16 14:54:53 +01:00
2024-11-19 16:44:51 +01:00
2024-12-10 16:19:33 +01:00
2024-04-26 10:20:57 +02:00
2025-01-28 12:49:41 +01:00
2024-12-23 17:32:07 +01:00
2024-12-16 17:47:25 +01:00
2025-01-16 11:50:33 +01:00
2025-01-28 14:53:37 +01:00
2024-11-25 08:09:09 +01:00
2024-11-19 20:13:41 +01:00
2024-10-04 21:38:14 +02:00
2025-01-27 11:11:43 +01:00
2024-11-25 11:41:26 +01:00
2024-11-19 15:29:40 +01:00
2024-11-07 18:17:03 +01:00
2025-01-09 09:18:49 +01:00
2025-01-10 14:50:59 +01:00
2024-11-14 15:03:38 +01:00
2024-07-18 13:29:52 +02:00
2024-09-15 23:51:51 +02:00
2025-01-20 17:53:55 +01:00
2024-11-21 19:58:05 +01:00
2024-08-07 15:40:52 +02:00