Willy Tarreau
e9cdedb39b
MINOR: mux-h2: try to clear DEM_MROOM and MUX_MFULL at more places
...
The code leading to H2_CF_MUX_MFULL and H2_CF_DEM_MROOM being cleared
is quite complex and assumptions about its state are extremely difficult
when reading the code. There are indeed long sequences where the mux might
possibly be empty, still having the flag set until it reaches h2_send()
which will clear it after the last send. Even then it's not obviour whether
it's always guaranteed to release the flag when invoked in multiple passes.
Let's just simplify the conditionnn so that h2_send() does not depend on
"sent" anymore and that h2_timeout_task() doesn't leave the flags set on
the buffer on emptiness. While it doesn't seem to fix anything, it will
make the code more robust against future changes.
2024-09-03 14:39:04 +02:00
..
2024-05-06 18:42:54 +02:00
2023-09-28 08:49:22 +02:00
2024-05-28 19:25:08 +02:00
2024-07-12 15:27:04 +02:00
2024-08-30 18:53:49 +02:00
2024-05-10 17:18:13 +02:00
2023-04-27 18:14:57 +02:00
2023-04-23 09:46:15 +02:00
2024-08-20 19:16:34 +02:00
2024-08-30 18:53:49 +02:00
2024-08-30 18:53:49 +02:00
2024-06-14 11:36:52 +02:00
2024-04-30 21:40:17 +02:00
2024-08-30 18:53:49 +02:00
2024-08-08 17:29:37 +02:00
2024-08-30 18:53:49 +02:00
2023-09-08 16:25:19 +02:00
2024-09-02 18:31:35 +02:00
2024-05-06 08:25:17 +02:00
2024-05-10 17:18:13 +02:00
2024-07-12 15:27:04 +02:00
2024-04-02 07:27:33 +02:00
2024-07-16 14:04:41 +02:00
2023-10-18 17:01:19 +02:00
2024-07-09 16:46:38 +02:00
2024-08-21 17:36:58 +02:00
2024-08-20 18:12:27 +02:00
2024-05-21 17:55:20 +02:00
2024-05-24 12:07:18 +02:00
2024-05-17 15:57:18 +02:00
2024-05-24 12:07:18 +02:00
2024-05-24 12:07:18 +02:00
2024-07-09 16:46:38 +02:00
2024-07-12 15:27:04 +02:00
2024-08-06 08:21:49 +02:00
2024-07-15 19:19:13 +02:00
2023-11-18 11:16:21 +01:00
2024-09-02 15:50:25 +02:00
2024-05-10 17:18:13 +02:00
2024-08-07 18:41:41 +02:00
2023-04-27 18:22:34 +02:00
2023-11-08 16:38:06 +01:00
2024-06-13 15:43:09 +02:00
2024-04-26 11:29:25 +02:00
2024-08-01 18:23:32 +02:00
2024-08-01 18:23:32 +02:00
2024-08-02 08:42:28 +02:00
2024-05-16 10:31:17 +02:00
2024-08-20 18:12:27 +02:00
2024-08-30 14:58:59 +02:00
2024-07-09 16:46:38 +02:00
2024-08-30 18:53:49 +02:00
2024-08-20 18:12:27 +02:00
2024-04-04 19:10:01 +02:00
2024-08-02 08:42:28 +02:00
2024-08-30 18:53:49 +02:00
2024-06-20 16:38:48 +02:00
2024-03-25 16:24:15 +01:00
2024-04-04 19:10:01 +02:00
2024-05-24 16:17:24 +02:00
2024-04-04 19:10:01 +02:00
2024-01-11 15:10:08 +01:00
2023-11-23 16:23:14 +01:00
2024-07-26 16:59:00 +02:00
2024-04-02 07:00:10 +02:00
2024-03-29 17:08:37 +01:00
2024-07-16 14:04:41 +02:00
2024-06-26 07:38:21 +02:00
2024-08-20 17:59:35 +02:00
2024-08-30 18:53:49 +02:00
2024-04-13 08:43:12 +02:00
2024-06-17 19:37:29 +02:00
2024-03-28 17:28:20 +01:00
2023-05-11 09:22:46 +02:00
2024-08-30 14:58:59 +02:00
2024-07-12 15:27:04 +02:00
2024-09-03 14:28:42 +02:00
2024-09-03 14:39:04 +02:00
2024-09-02 15:50:25 +02:00
2024-08-23 16:25:04 +02:00
2024-07-24 14:19:10 +02:00
2023-04-28 16:08:08 +02:00
2024-06-27 16:08:42 +02:00
2023-06-14 11:27:29 +02:00
2023-05-12 09:45:30 +02:00
2024-08-13 16:13:43 +02:00
2023-07-03 16:32:01 +02:00
2024-08-02 08:42:29 +02:00
2024-07-09 16:46:38 +02:00
2024-08-21 17:37:46 +02:00
2024-08-21 17:37:46 +02:00
2024-08-21 17:37:46 +02:00
2024-08-30 18:53:49 +02:00
2024-08-21 17:37:46 +02:00
2024-08-21 17:37:46 +02:00
2024-08-21 17:37:46 +02:00
2024-08-30 18:53:49 +02:00
2024-08-28 10:05:34 +02: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
2024-07-29 09:27:01 +02:00
2024-02-05 14:31:21 +01:00
2024-08-26 11:21:48 +02:00
2024-07-24 11:07:19 +02:00
2023-11-28 15:37:50 +01:00
2024-07-03 15:02:40 +02:00
2024-08-26 11:21:48 +02:00
2024-08-30 17:04:09 +02:00
2024-01-31 16:28:54 +01:00
2024-08-30 17:04:09 +02:00
2024-08-21 08:02:44 +02:00
2024-01-16 10:17:27 +01:00
2024-09-03 11:47:51 +02:00
2024-08-30 17:04:09 +02:00
2024-07-25 15:39:39 +02:00
2024-08-30 17:04:09 +02:00
2024-08-30 18:53:49 +02:00
2024-09-02 10:01:41 +02:00
2024-04-26 10:20:57 +02:00
2024-08-20 18:12:27 +02:00
2024-08-30 17:04:09 +02:00
2024-08-30 17:04:09 +02:00
2024-04-06 00:07:49 +02:00
2024-09-02 10:01:41 +02:00
2024-08-07 10:57:10 +02:00
2023-10-17 18:51:13 +02:00
2024-08-30 18:53:49 +02:00
2024-07-24 17:59:03 +02:00
2024-07-08 14:23:14 +02:00
2024-07-18 13:29:52 +02:00
2024-08-30 18:53:49 +02:00
2024-08-07 16:02:59 +02:00
2024-05-21 17:55:03 +02:00
2023-11-23 16:23:14 +01:00
2024-07-25 14:56:19 +02:00
2023-06-30 16:12:36 +02:00
2024-08-30 18:53:49 +02:00
2024-08-21 17:37:46 +02:00
2024-08-30 18:53:49 +02:00
2024-07-17 16:52:06 +02:00
2024-07-30 18:53:08 +02:00
2024-05-21 18:30:45 +02:00
2024-03-12 17:37:11 +01:00
2024-08-30 18:53:49 +02:00
2024-08-26 15:17:40 +02:00
2024-08-26 15:17:40 +02:00
2023-05-15 12:07:52 +02:00
2024-05-17 14:53:19 +02:00
2024-08-20 15:55:45 +02:00
2024-04-26 10:20:57 +02:00
2024-07-12 15:27:05 +02:00
2024-05-03 09:01:36 +02:00
2024-08-07 14:07:41 +02:00
2024-09-02 15:50:25 +02:00
2024-08-28 16:38:20 +02:00
2024-04-03 15:53:18 +02:00
2023-11-23 16:23:14 +01:00
2024-05-24 14:36:31 +02:00
2023-11-18 11:16:21 +01:00
2024-07-31 10:29:42 +02:00
2024-08-30 18:53:49 +02:00
2024-05-24 09:46:49 +02:00
2024-08-30 18:53:49 +02:00
2024-08-07 16:02:59 +02:00
2024-04-22 16:25:18 +02:00
2024-07-18 13:29:52 +02:00
2024-07-18 17:06:12 +02:00
2024-08-07 15:40:52 +02:00