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, 21 Jan 2021 07:58:15 +0000 (08:58 +0100)
commit8050efeacb554f798a49db5ef213c8f673e5596e
treef43eb1b69372b814a03478e4e40a36481bca3e69
parent24105300b87b5cfc1f21fd0788a0865723b043c8
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.
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