]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DEBUG: stream-int: Fix BUG_ON used to test appctx in si_applet_ops callbacks
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 28 Feb 2022 16:27:09 +0000 (17:27 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 28 Feb 2022 16:29:11 +0000 (17:29 +0100)
commit8bc1759f609ef4e34d3b303b3c72517b4f4b2f4a
tree751d1eac2a922aa7edce3b4d44aa1460bd1ba55a
parente07f8b555267b49fe6c6afbf067430f97d5ecbf7
DEBUG: stream-int: Fix BUG_ON used to test appctx in si_applet_ops callbacks

693b23bb1 ("MEDIUM: tree-wide: Use unsafe conn-stream API when it is
relevant") introduced a regression in DEBUG_STRICT mode because some BUG_ON
conditions were inverted. It should ok now.

In addition, ALREADY_CHECKED macro was removed from appctx_wakeup() function
because it is useless now.
include/haproxy/applet.h
src/stream_interface.c