MINOR: debug: add features and build options to "show dev"
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Jan 2024 10:08:04 +0000 (11:08 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 5 Jan 2024 18:07:51 +0000 (19:07 +0100)
commit5d5952abdda43503d9e77160c53d207a15896d48
treee8dda1a303023a04050274c4a45eb33077ddf9d6
parent99c4da0c5fcaa0c84d74803acd484dda098ae36c
MINOR: debug: add features and build options to "show dev"

The "show dev" CLI command is still missing useful elements such as the
build options, SSL version etc. Let's just add the build features and
the build options there so that it's possible to collect all of this
from a running process without having to start the executable with -vv.

This is still dumped all at once from the parsing function since the
output is small. If it were to grow, this would possibly require to be
reworked to support a context.

It might be helpful to backport this to 2.9 since it can help narrow
down certain issues.

(cherry picked from commit 9d869b10dea0f4234eb14787f658d6b64a0a4021)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/debug.c