]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: idle timer task requeued in the past
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 6 Nov 2023 13:16:10 +0000 (14:16 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Thu, 9 Nov 2023 09:32:31 +0000 (10:32 +0100)
commit7ecf4b34b94e3f2ee4edb6025f86e9b6997be5fa
tree71fe94bd3041c027005340e202826060418c4622
parentb48abf0beb9757b835c28f69a8685a5ed8265878
BUG/MINOR: quic: idle timer task requeued in the past

When the idle timer expired with a still present mux, this task was not freed
and even requeued with a timer in the past.

Fix this issue calling task_destroy() in this case. As the task is freed,
its handler must return NULL setting local <t> variable to NULL in every cases.

Also ensure that this timer task is not armed again after having been released
with a <return> statement when this is the case from qc_idle_timer_do_rearm().

Must be backported as far as 2.6.
src/quic_conn.c