BUG/MINOR: mux-spop: Use the right bitwise operator in spop_ctl()
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Apr 2025 13:58:53 +0000 (15:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 15 May 2025 15:01:43 +0000 (17:01 +0200)
commitd1998c9b151f7675fff883281dd6af763416917e
treec96182593dbe359efbd036f1e5040bcdbd62e5f5
parent8edbc9f62bac84bff4a3826b21c73dbb1fd149f9
BUG/MINOR: mux-spop: Use the right bitwise operator in spop_ctl()

Becaues of a typo, '||' was used instead of '|' to test the SPOP conneciton
flags and decide if the mux is ready or not. The regression was introduced
in the commit fd7ebf117 ("BUG/MEDIUM: mux-spop: Wait end of handshake to
declare a spop connection ready").

This patch must be backported to 3.1 with the commit above.

(cherry picked from commit 2ccfebcebff254c95b6a70e987f3d960b38499c1)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/mux_spop.c