Pavel Lavrukhin and Nikos Mavrogiannopoulos
c4c102a9c9
worker: keep DTLS active when a CSTP control frame arrives
...
tls_mainloop() took the return value of parse_cstp_data() for the packet
type. The parser returns 0 for every frame it accepts, and AC_PKT_DATA
is 0, so a keepalive or a DPD frame over TLS was treated as data: with
no UDP packet for 15 seconds the worker marked the DTLS channel inactive
and sent over TLS, whatever switch-to-tcp-timeout was set to, including
0.
parse_cstp_data() already marks the channel inactive as soon as an
uncompressed data frame arrives over TLS, so the timed check in
tls_mainloop() never acted on such frames; it delayed the switch for
compressed data and misfired on control frames. Remove it, together with
UDP_SWITCH_TIME, and let parse_cstp_data() treat compressed data like
uncompressed data.
Relates: #769
Signed-off-by: Pavel Lavrukhin <14156456-dantte_lp@users.noreply.gitlab.com >
2026-12-05 10:44:33 +01:00
..
2026-09-20 14:37:49 +02:00
2026-11-05 20:24:04 +01:00
2026-05-23 16:16:35 +02:00
2026-11-05 20:24:04 +01:00
2025-04-02 09:07:32 +02:00
2026-10-26 12:57:23 +01:00
2026-10-26 13:37:35 +01:00
2026-11-21 20:40:14 +01:00
2026-06-06 15:23:54 +02:00
2026-05-23 16:16:35 +02:00
2026-05-23 16:16:35 +02:00
2026-10-13 09:06:21 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-11-12 21:06:48 +01:00
2026-10-12 21:47:10 +03:00
2024-04-28 13:37:19 +02:00
2026-11-12 21:06:48 +01:00
2026-11-12 21:06:48 +01:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-11-28 17:30:04 +01:00
2026-04-14 13:59:05 -04:00
2026-10-12 21:47:10 +03:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2024-12-01 17:01:05 +01:00
2026-10-12 21:47:10 +03:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-11-09 10:33:47 +03:00
2026-06-06 15:23:54 +02:00
2026-11-28 17:30:04 +01:00
2026-11-28 17:30:04 +01:00
2026-11-05 20:24:04 +01:00
2026-06-14 09:35:13 +03:00
2026-06-06 15:23:54 +02:00
2015-02-27 15:01:20 +01:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-04-22 20:29:15 +02:00
2026-11-11 23:33:05 +01:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-11-28 18:34:47 +01:00
2026-06-06 15:23:54 +02:00
2026-11-05 20:24:04 +01:00
2026-11-21 20:40:14 +01:00
2026-11-05 20:24:04 +01:00
2026-11-12 21:06:48 +01:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-03-29 16:55:12 +02:00
2026-05-02 17:21:38 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-09-18 20:27:35 +03:00
2026-11-05 20:24:04 +01:00
2026-10-25 14:26:47 +03:00
2026-06-06 15:23:54 +02:00
2026-11-05 20:24:04 +01:00
2026-07-28 08:07:07 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-11-05 20:24:04 +01:00
2026-11-05 20:24:04 +01:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-10-12 21:47:10 +03:00
2026-08-15 15:19:11 +02:00
2026-07-28 08:00:06 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-10-12 21:47:10 +03:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2013-07-23 21:39:47 +02:00
2026-11-12 21:06:48 +01:00
2026-11-12 22:05:20 +00:00
2026-11-28 18:34:47 +01:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2026-10-12 21:47:10 +03:00
2026-06-06 15:23:54 +02:00
2026-06-06 15:23:54 +02:00
2024-12-01 17:01:05 +01:00
2026-06-06 15:23:54 +02:00
2026-12-04 06:58:54 +01:00
2026-11-05 20:24:04 +01:00
2026-12-04 06:56:17 +01:00
2026-07-28 08:00:06 +02:00
2026-07-28 08:07:07 +02:00
2026-06-06 15:23:54 +02:00
2026-06-14 09:35:13 +03:00
2026-05-30 22:49:07 +02:00
2026-12-05 10:44:33 +01:00
2026-11-21 20:40:14 +01:00
2026-12-05 10:44:33 +01:00