mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-29 07:31:00 +01:00
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
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.