haproxy/dev/flags
Christopher Faulet c8db114afc MINOR: flags/mux-fcgi: Decode FCGI connection and stream flags
The new functions fconn_show_flags() and fstrm_show_flags() decode the flags
state into a string, and are used by dev/flags:

$ /dev/flags/flags fconn 0x3100
fconn->flags = FCGI_CF_GET_VALUES | FCGI_CF_KEEP_CONN | FCGI_CF_MPXS_CONNS

./dev/flags/flags fstrm  0x3300
fstrm->flags = FCGI_SF_WANT_SHUTW | FCGI_SF_WANT_SHUTR | FCGI_SF_OUTGOING_DATA | FCGI_SF_BEGIN_SENT
2022-10-12 17:10:41 +02:00
..
flags.c MINOR: flags/mux-fcgi: Decode FCGI connection and stream flags 2022-10-12 17:10:41 +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

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.