mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 07:07:04 +02:00
The new functions h2c_show_flags() and h2s_show_flags() decode the flags state into a string, and are used by dev/flags: $ ./dev/flags/flags h2c 0x0600 h2c->flags = H2_CF_DEM_IN_PROGRESS | H2_CF_DEM_SHORT_READ $ ./dev/flags/flags h2s 0x7003 h2s->flags = H2_SF_HEADERS_RCVD | H2_SF_OUTGOING_DATA | H2_SF_HEADERS_SENT \ | H2_SF_ES_SENT | H2_SF_ES_RCVD |
||
---|---|---|
.. | ||
flags.c | ||
README | ||
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.