]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: Add a function to propagate termination flags from h2s to SE
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 May 2023 09:14:38 +0000 (11:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 24 May 2023 14:06:11 +0000 (16:06 +0200)
commit531dd050ffd05ce8650c1c17d8ad2bffa1860e1b
treee5ca017d098a7beba85789245395a6c0b3c7d366
parent1a60a663066b6913a6a8561a4155efc775013205
MINOR: mux-h2: Add a function to propagate termination flags from h2s to SE

The function h2s_propagate_term_flags() was added to check the H2S state and
evaluate when EOI/EOS/ERR_PENDING/ERROR flags must be set on the SE. It is
not the only place where those flags are set. But it centralizes the synchro
between the H2 stream and the SC.

For now, this function is only used at the end of h2_rcv_buf(). But it will
be used to fix a bug.
src/mux_h2.c