BUG/MINOR: connection/debug: do not enforce !event_type on subscribe() anymore
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Mar 2020 06:41:20 +0000 (07:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 5 Mar 2020 06:46:33 +0000 (07:46 +0100)
commitf4629a5346ea341026e908792a6b31e98022faa1
tree6b66ccfc9867d9112ca85d2ba8bc2f5b206631ab
parent2825b4b0ca6000a6ce004a43b8160f14d9f3a8d2
BUG/MINOR: connection/debug: do not enforce !event_type on subscribe() anymore

When building with DEBUG_STRICT, there are still some BUG_ON(events&event_type)
in the subscribe() code which are not welcome anymore since we explicitly
permit to wake the caller up on readiness. This causes some regtests to fail
since 2c1f37d353 ("OPTIM: mux-h1: subscribe rather than waking up at a few
other places") when built with this option.

No backport is needed, this is 2.2-dev.
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/ssl_sock.c
src/xprt_handshake.c