Amaury Denoyelle
235e8f1afd
MEDIUM: mux-quic: add BUG_ON if sending on locally closed QCS
...
Previously, if snd_buf operation was conducted despite QCS already
locally closed, the input buffer was silently dropped. This situation
could happen if a RESET_STREAM was emitted butemission not reported to
the stream layer. Resetting silently the buffer ensure QUIC MUX remain
compliant with RFC 9000 which forbid emission after RESET_STREAM.
Since previous commit, it is now ensured that RESET_STREAM sending will
always be reported to stream-layer. Thus, there is no need anymore to
silently reset the buffer. A BUG_ON() statement is added to ensure this
assumption will remain valid.
The new code is deemed cleaner as it does not hide a missing error
notification on the stconn-layer. Previously, if an error was missing,
sending would continue unnecessarily with a false success status
reported for the stream.
Note that the BUG_ON() statement was also added into nego_ff callback.
This is necessary to ensure both sending path remains consistent.
This patch is labelled as MEDIUM as issues were already encountered in
snd_buf/nego_ff implementation and it's not easy to cover all occurences
during test. If the BUG_ON() is triggered without any apparent
stream-layer issue, this commit should be reverted.
2023-12-21 15:42:08 +01:00
..
2023-11-23 16:23:14 +01:00
2023-09-28 08:49:22 +02:00
2023-11-14 11:46:37 +01:00
2023-12-06 10:24:41 +01:00
2022-11-22 16:27:52 +01:00
2022-11-24 15:24:02 +01:00
2023-11-30 17:15:54 +01:00
2023-12-06 10:24:41 +01:00
2023-04-27 18:14:57 +02:00
2023-04-23 09:46:15 +02:00
2023-12-08 14:26:06 +01:00
2023-12-01 09:09:45 +01:00
2023-12-04 15:33:52 +01:00
2023-10-23 22:03:55 +02:00
2023-06-06 15:15:17 +02:00
2023-12-21 14:22:27 +01:00
2023-10-17 18:51:13 +02:00
2023-11-23 16:23:14 +01:00
2023-09-08 16:25:19 +02:00
2023-12-07 18:04:41 +01:00
2023-05-17 09:33:54 +02:00
2023-06-30 16:12:36 +02:00
2023-11-23 17:43:01 +01:00
2023-09-08 16:25:19 +02:00
2023-11-23 16:23:14 +01:00
2023-10-18 17:01:19 +02:00
2023-05-05 15:44:23 +02:00
2023-11-23 16:23:14 +01:00
2023-11-09 14:39:11 +01:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-21 09:06:28 +02:00
2022-09-09 11:15:22 +02:00
2023-11-29 08:59:27 +01:00
2023-11-23 16:53:57 +01:00
2023-11-18 11:16:21 +01:00
2022-12-09 12:23:14 +01:00
2023-04-13 18:04:46 +02:00
2023-11-18 11:16:21 +01:00
2023-11-23 16:23:14 +01:00
2023-11-29 08:59:27 +01:00
2023-10-13 10:05:06 +02:00
2023-04-27 18:22:34 +02:00
2023-11-08 16:38:06 +01:00
2023-10-26 15:18:48 +02:00
2023-10-04 15:34:18 +02:00
2023-10-04 15:34:18 +02:00
2023-10-17 18:51:13 +02:00
2023-12-20 15:40:02 +01:00
2023-12-04 15:36:02 +01:00
2022-11-14 11:14:02 +01:00
2023-12-21 14:22:27 +01:00
2023-12-21 14:22:26 +01:00
2023-02-14 08:48:54 +01:00
2023-01-26 11:36:39 +01:00
2023-12-12 10:31:22 +01:00
2023-11-29 11:11:12 +01:00
2023-12-21 14:21:53 +01:00
2023-11-30 17:15:54 +01:00
2023-04-01 18:33:40 +02:00
2023-07-06 15:41:17 +02:00
2023-11-29 11:11:12 +01:00
2023-12-01 20:46:24 +01:00
2023-05-11 15:37:04 +02:00
2023-11-03 09:57:06 +01:00
2023-11-23 16:23:14 +01:00
2023-03-08 10:43:04 +01:00
2023-11-23 16:23:14 +01:00
2023-08-29 11:11:50 +02:00
2023-11-30 15:04:27 +01:00
2023-11-29 11:11:12 +01:00
2023-05-05 16:28:32 +02:00
2023-12-21 14:22:27 +01:00
2023-05-11 09:22:46 +02:00
2023-11-29 11:11:12 +01:00
2023-12-13 16:45:29 +01:00
2023-12-18 21:15:32 +01:00
2023-12-04 15:32:32 +01:00
2023-12-21 15:42:08 +01:00
2023-04-28 16:08:08 +02:00
2023-11-24 21:44:25 +01:00
2023-06-14 11:27:29 +02:00
2023-05-12 09:45:30 +02:00
2023-12-08 14:26:06 +01:00
2023-07-03 16:32:01 +02:00
2023-12-21 14:22:27 +01:00
2023-11-23 16:23:14 +01:00
2023-11-06 20:49:56 +01:00
2023-11-29 11:11:12 +01:00
2023-04-21 17:41:26 +02:00
2023-04-23 09:46:15 +02:00
2023-10-18 17:01:19 +02:00
2023-02-23 15:05:05 +01:00
2023-04-21 17:41:26 +02:00
2023-08-17 15:44:03 +02:00
2023-12-21 14:22:26 +01:00
2023-12-21 15:42:08 +01:00
2023-03-22 16:08:54 +01:00
2023-05-09 18:42:34 +02:00
2022-11-24 15:38:26 +01:00
2023-04-28 16:08:08 +02:00
2023-10-11 14:15:31 +02:00
2023-11-28 15:37:50 +01:00
2023-11-28 15:37:50 +01:00
2023-11-28 15:37:50 +01:00
2022-10-03 16:25:17 +02:00
2023-11-30 15:04:27 +01:00
2023-11-28 15:37:22 +01:00
2023-11-28 15:47:18 +01:00
2023-11-09 10:32:31 +01:00
2023-11-28 15:37:50 +01:00
2023-12-08 10:03:33 +01:00
2023-11-28 15:47:18 +01:00
2023-11-28 15:47:18 +01:00
2023-12-13 14:42:50 +01:00
2023-11-28 15:37:50 +01:00
2023-11-28 15:37:50 +01:00
2023-05-26 17:17:00 +02:00
2023-05-12 16:26:20 +02:00
2023-11-28 15:37:22 +01:00
2023-11-30 15:59:45 +01:00
2023-11-23 16:23:14 +01:00
2023-11-28 15:47:18 +01:00
2023-10-17 18:51:13 +02:00
2022-09-01 19:34:46 +02:00
2023-12-21 14:22:27 +01:00
2023-11-23 16:23:14 +01:00
2023-12-01 14:35:47 +01:00
2023-07-21 15:08:27 +02:00
2023-12-21 14:22:27 +01:00
2023-11-23 16:23:14 +01:00
2023-11-17 16:56:18 +01:00
2023-11-23 16:23:14 +01:00
2023-11-23 16:23:14 +01:00
2023-06-30 16:12:36 +02:00
2023-04-23 09:46:15 +02:00
2023-11-20 11:38:26 +01:00
2023-11-20 11:38:26 +01:00
2023-12-06 16:12:08 +01:00
2023-05-05 00:05:46 +02:00
2023-03-31 09:10:36 +02:00
2023-07-17 15:45:41 +02:00
2023-12-08 12:08:01 +01:00
2023-05-15 12:07:52 +02:00
2023-12-21 14:20:03 +01:00
2023-12-06 10:24:41 +01:00
2023-12-21 14:22:27 +01:00
2023-12-01 11:25:49 +01:00
2023-11-23 16:23:14 +01:00
2023-11-30 15:04:27 +01:00
2023-11-18 11:16:21 +01:00
2023-07-24 17:12:29 +02:00
2023-11-10 17:49:57 +01:00
2023-11-16 19:35:10 +01:00
2023-11-30 16:48:41 +01:00
2023-11-27 17:15:14 +01:00
2023-11-23 16:23:14 +01:00
2023-02-17 16:01:34 +01:00
2023-11-20 16:11:26 +01:00