haproxy/dev/flags
Willy Tarreau a14c7d194a DEV: flags/show-fd-to-flags: adapt to recent versions
The script hadn't been updated since it was introduced, and the
hard-coded field 12 doesn't match anymore (it's 16 now). Let's just
use "grep -o cflg..." to extract the desired part more flexibly.
This can be backported at least to 3.0, probably further, but it
will need to be tested prior to this. Better not bring it too far,
it's only used when debugging.
2024-06-25 08:13:24 +02:00
..
flags.c DEV: flags/peers: Decode PEER and PEERS flags 2024-04-25 18:29:58 +02:00
README DEV: flags: use "sc" for stream conns instead of "cs" 2022-05-27 19:33:35 +02:00
show-fd-to-flags.sh DEV: flags/show-fd-to-flags: adapt to recent versions 2024-06-25 08:13:24 +02:00
show-sess-to-flags.sh DEV: flags/show-sess-to-flags: properly decode fd.state 2023-08-14 08:48:49 +02:00

This needs to be built from the top makefile, for example :

    make dev/flags/flags

Then the executable is usable either one value at a time from the
command line, either with values coming from stdin with "-" passed
alone instead of the value.

It is possible to restrict the decoding to certain fields only by
specifying one of "ana", "chn", "conn", "sc", "si", "sierr", "strm",
"task", or "txn" before the value.