MINOR: cli/show_fd: report some easily detectable suspicious states
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2021 08:07:29 +0000 (09:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2021 08:09:05 +0000 (09:09 +0100)
commitdacfde4ba42e3a13dd5b13b7df7a37db06d702a6
treef2948dc3825a05da4b0802a4c6d61312b740f2cd
parent8050efeacb554f798a49db5ef213c8f673e5596e
MINOR: cli/show_fd: report some easily detectable suspicious states

A file descriptor which maps to a connection but has more than one
thread in its mask, or an FD handle that doesn't correspond to the FD,
or wiht no mux context, or an FD with no thread in its mask, or with
more than 1 million events is flagged as suspicious.
src/cli.c