BUG/MINOR: mux-quic: fix wakeup on qcc_set_error()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 3 Jan 2025 09:36:39 +0000 (10:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 6 Jan 2025 10:33:05 +0000 (11:33 +0100)
commita240d74f4593429ce216eb95b2e52b42c2e2cb27
tree66054940ecf24fe4cfd476da30d5b801d8d72516
parent03d6c648dfc3ab364149aa747c1574c847526193
BUG/MINOR: mux-quic: fix wakeup on qcc_set_error()

The following patch was a major refactoring of QUIC MUX. It removes
pacing specific code path. In particular, qcc_wakeup() utility function
was removed and replaced by its tasklet_wakup() usage.
  41f0472d967b2deb095d5adc8a167da973fbee3d
  MEDIUM: mux-quic: remove pacing specific code on qcc_io_cb

However, an incorrect substitution was performed in qcc_set_error(). As
such, there was no explicit wakeup in case an error is detected by QUIC
MUX or the app protocol layer. This may lead to missing error reporting
to clients.

Fix this by re-add tasklet_wakup() usage into qcc_set_error().

This must be backported up to 3.1 where above patch is scheduled.

(cherry picked from commit 4f2554903b1449a31bb30097311cb6fa86632338)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_quic.c