]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: flags/mux-fcgi: Decode FCGI connection and stream flags
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 12 Oct 2022 15:00:13 +0000 (17:00 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 12 Oct 2022 15:10:41 +0000 (17:10 +0200)
commitc8db114afca12eea3500a844511552b068f2d821
treec55c5e4a843cc802e2dbd142250c4445c32646db
parent3965aa749487a2a56b0f12141b1b672daf15970b
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
dev/flags/flags.c
include/haproxy/mux_fcgi-t.h