MINOR: cli: give the show_fd helpers the ability to report a suspicious entry
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2021 07:26:06 +0000 (08:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2021 17:13:36 +0000 (18:13 +0100)
commit6cb467ef9d45a6de350d0a7dd6b0d359967cae06
tree66fd195aa1926d70cbf20c2a6399a5070113c990
parent5a090d659978584ada4c7457edb4f9108c782a3a
MINOR: cli: give the show_fd helpers the ability to report a suspicious entry

Now the show_fd helpers at the transport and mux levels return an integer
which indicates whether or not the inspected entry looks suspicious. When
an entry is reported as suspicious, "show fd" will suffix it with an
exclamation mark ('!') in the dump, that is supposed to help detecting
them.

For now, helpers were adjusted to adapt to the new API but none of them
reports any suspicious entry yet.

(cherry picked from commit 8050efeacb554f798a49db5ef213c8f673e5596e)
Signed-off-by: Willy Tarreau <w@1wt.eu>
doc/management.txt
include/haproxy/connection-t.h
src/cli.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/ssl_sock.c