BUG/MEDIUM: mux-h2: Never set SE_FL_EOS without SE_FL_EOI or SE_FL_ERROR
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 06:59:08 +0000 (08:59 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 06:59:10 +0000 (08:59 +0200)
commitc202c740b57a189a546c1b7b3b68fe4ccec957ef
tree1b6e4142c946a6d0e4991a40c3de27773135aab7
parentc393c9e3888d15a693635364835973d07b0f4982
BUG/MEDIUM: mux-h2: Never set SE_FL_EOS without SE_FL_EOI or SE_FL_ERROR

When end-of-stream is reported by a H2 stream, we must take care to also
report an error is end-of-input was not reported. Indeed, it is now
mandatory to set SE_FL_EOI or SE_FL_ERROR flags when SE_FL_EOS is set.

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