MINOR: connection: add a new mux_ctl to report number of connection glitches

MUX_CTL_GET_GLITCHES will report the non-negative number of clitches
observed on a connection, or -1 if not supported.
This commit is contained in:
Willy Tarreau 2024-01-17 17:20:30 +01:00
parent 3d4438484a
commit a3d6af6a0f

View File

@ -337,6 +337,7 @@ enum mux_ctl_type {
MUX_CTL_EXIT_STATUS, /* Expects an int as output, sets the mux exist/error/http status, if known or 0 */
MUX_CTL_REVERSE_CONN, /* Notify about an active reverse connection accepted. */
MUX_CTL_SUBS_RECV, /* Notify the mux it must wait for read events again */
MUX_CTL_GET_GLITCHES, /* returns number of glitches on the connection */
};
/* sctl command used by mux->sctl() */