BUG/MINOR: mux-h2: Check H2_SF_BODY_TUNNEL on H2S flags and not demux frame ones
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 May 2023 09:44:53 +0000 (11:44 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 May 2023 14:06:11 +0000 (16:06 +0200)
commit78b1eb2b04f01584e838abfcd8512f02364abba0
tree4fd0db8f8f1a05af3c26c94dffc8e7d559a12600
parent1e1c28873ccdc9e9f7ca24bb533023a62ae3886e
BUG/MINOR: mux-h2: Check H2_SF_BODY_TUNNEL on H2S flags and not demux frame ones

In h2c_frt_stream_new(), H2_SF_BODY_TUNNEL flags was tested on demux frame
flags (h2c->dff) instead of the h2s flags.  By chance, it is a noop test
becasue H2_SF_BODY_TUNNEL value, once converted to an int8_t, is 0.

It is a 2.8-specific issue. No backport needed.
src/mux_h2.c