]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: muxes: No longer use app_ops .wake() callback function from muxes
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 16:17:49 +0000 (17:17 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 10 Mar 2026 14:10:34 +0000 (15:10 +0100)
commit64d997ebfc58fe02fe540979c2c7907dc0d35944
treedddef36e42a18c5bfaeed19d9acb569825125c6b
parent26a0817c1abb90f58b1fd5b4838d53fe469636c8
MAJOR: muxes: No longer use app_ops .wake() callback function from muxes

Thanks to previous commits, it is now possible to wake the data layer up,
via a tasklet_wakeup, instead of using the app_ops .wake() callback
function.

When a data layer must be notified of a mux event (an error for instance),
we now always perform a tasklet_wakeup(). TASK_WOKEN_MSG state is used by
default. TASK_WOKEN_IO is eventually added if the data layer was subscribed
to receives or sends.

Changes are not trivial at all. We replaced a synchronous call to the
sc_conn_process() function by a tasklet_wakeup().
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/mux_quic.c
src/mux_spop.c