]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: flags/mux-h2: decode H2C and H2S flags
authorWilly Tarreau <w@1wt.eu>
Mon, 12 Sep 2022 17:20:23 +0000 (19:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Sep 2022 17:33:07 +0000 (19:33 +0200)
commit439be5838d3326d3dd4bb2d994735a8313912ff4
tree5ca9885eab83e371e4641bc8b49a789f0dadae45
parent6c0fadfb7df3a923a9765beac9a38e5d0ceccd1d
MINOR: flags/mux-h2: decode H2C and H2S flags

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
dev/flags/flags.c
include/haproxy/mux_h2-t.h