]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: flags/mux-h1: decode H1C and H1S flags
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Sep 2022 08:54:36 +0000 (10:54 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Sep 2022 09:01:59 +0000 (11:01 +0200)
commit7c4b2ec09d4f5b0cccb49e4d31923bada7d21399
treebd8534f5f3f0a5ae611729603b2dc74415aeaca8
parent18ad15f5c42f80d77306626af5771bb3d2cf5db8
MINOR: flags/mux-h1: decode H1C and H1S flags

The new functions h1c_show_flags() and h1s_show_flags() decode the flags
state into a string, and are used by dev/flags:

$ /dev/flags/flags h1c 0x2200
h1c->flags = H1C_F_ST_READY | H1C_F_ST_ATTACHED

./dev/flags/flags h1s 0x190
h1s->flags = H1S_F_BODYLESS_RESP | H1S_F_NOT_FIRST | H1S_F_WANT_KAL
dev/flags/flags.c
include/haproxy/mux_h1-t.h