From: Christopher Faulet Date: Tue, 14 Nov 2023 06:44:05 +0000 (+0100) Subject: MINOR: connection: Add a CTL flag to notify mux it should wait for reads again X-Git-Tag: v2.9-dev10~75 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e5cffa8ace3b9a3d6a634d8754380e699909ad3a;p=thirdparty%2Fhaproxy.git MINOR: connection: Add a CTL flag to notify mux it should wait for reads again MUX_SUBS_RECV ctl flag is added to instruct the mux it should wait for read events. This flag will be pretty useful to handle abortonclose option. --- diff --git a/include/haproxy/connection-t.h b/include/haproxy/connection-t.h index 3c06938832..2029bf851b 100644 --- a/include/haproxy/connection-t.h +++ b/include/haproxy/connection-t.h @@ -334,6 +334,7 @@ enum mux_ctl_type { MUX_STATUS, /* Expects an int as output, sets it to a combinaison of MUX_STATUS flags */ MUX_EXIT_STATUS, /* Expects an int as output, sets the mux exist/error/http status, if known or 0 */ MUX_REVERSE_CONN, /* Notify about an active reverse connection accepted. */ + MUX_SUBS_RECV, /* Notify the mux it must wait for read events again */ }; /* response for ctl MUX_STATUS */