mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02:00
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:
parent
3d4438484a
commit
a3d6af6a0f
@ -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_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_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_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() */
|
/* sctl command used by mux->sctl() */
|
||||||
|
Loading…
Reference in New Issue
Block a user