Willy Tarreau
b7209d42d9
MEDIUM: stconn: make the SE_FL_ERR_PENDING to ERROR transition systematic
...
During a code audit of the various situations that promote ERR_PENDING to
ERROR, it appeared that:
- all muxes use se_fl_set_error() to set it, which chooses either based
on EOI/EOS presence ;
- EOI/EOS that arrive late after ERR_PENDING were not systematically
upgraded to ERROR
This results in confusion about how such ERROR or ERR_PENDING ought to
be handled, which is not quite desirable.
This patch adds a test to se_fl_set() to detect if we're setting EOI or
EOS while ERR_PENDING is present, or the other way around so that any
sequence of EOI/EOS <-> ERR_PENDING results in ERROR being set. This
way there will no longer be possible situations where ERROR is missing
while the other ones are set.
2023-05-23 16:17:04 +02:00
..
2023-05-11 15:37:04 +02:00
2023-05-05 15:44:23 +02:00
2023-04-28 16:08:08 +02:00
2023-04-25 19:53:39 +02:00
2023-05-05 18:41:52 +02:00
2023-04-17 17:41:28 +02:00
2023-04-28 16:08:08 +02:00
2023-04-21 14:36:45 +02:00
2023-05-11 16:38:52 +02:00
2023-05-17 09:33:54 +02:00
2023-04-19 11:03:31 +02:00
2023-04-07 18:14:28 +02:00
2023-04-07 00:49:17 +02:00
2023-04-07 00:46:59 +02:00
2023-04-07 00:47:04 +02:00
2023-05-04 19:19:04 +02:00
2023-05-11 12:02:21 +02:00
2023-05-05 16:28:32 +02:00
2023-04-21 14:36:45 +02:00
2023-04-13 16:57:51 +02:00
2023-04-13 16:57:51 +02:00
2023-04-23 09:46:15 +02:00
2023-05-05 16:28:32 +02:00
2023-04-19 11:03:31 +02:00
2023-05-05 16:28:32 +02:00
2023-05-11 15:37:04 +02:00
2023-05-12 15:29:28 +02:00
2023-05-11 11:33:35 +02:00
2023-05-05 00:05:46 +02:00
2023-05-11 13:51:31 +02:00
2023-05-05 16:28:32 +02:00
2023-05-16 17:53:45 +02:00
2023-05-16 17:53:45 +02:00
2023-05-15 15:16:15 +02:00
2023-04-18 16:54:17 +02:00
2023-04-23 09:46:15 +02:00
2023-04-23 09:46:15 +02:00
2023-04-23 09:46:15 +02:00
2023-04-28 16:53:44 +02:00
2023-05-12 15:50:30 +02:00
2023-05-11 14:04:51 +02:00
2023-05-11 14:04:51 +02:00
2023-05-11 14:04:51 +02:00
2023-04-24 15:35:03 +02:00
2023-05-09 10:48:40 +02:00
2023-04-13 19:20:08 +02:00
2023-04-13 19:20:08 +02:00
2023-04-18 17:09:02 +02:00
2023-05-12 16:26:20 +02:00
2023-05-22 11:17:18 +02:00
2023-05-10 13:26:37 +02:00
2023-05-10 13:26:37 +02:00
2023-04-21 17:41:26 +02:00
2023-04-17 17:41:28 +02:00
2023-05-05 16:28:32 +02:00
2023-05-05 16:28:32 +02:00
2023-04-28 16:08:08 +02:00
2023-05-07 07:07:44 +02:00
2023-04-23 09:46:15 +02:00
2023-04-28 16:08:08 +02:00
2023-05-05 00:05:46 +02:00
2023-05-15 10:48:05 +02:00
2023-05-17 09:33:54 +02:00
2023-05-05 15:41:29 +02:00
2023-05-11 15:37:04 +02:00
2023-05-23 16:17:04 +02:00
2023-04-13 14:46:08 +02:00
2023-05-11 16:38:52 +02:00
2023-04-14 14:04:59 +02:00
2023-04-23 00:28:25 +02:00
2023-04-18 16:54:17 +02:00
2023-05-04 18:09:50 +02:00
2023-05-04 19:15:44 +02:00
2023-04-13 16:57:51 +02:00