]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: mux-h1: Report EOI when a TCP connection is upgraded to H2
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 06:32:13 +0000 (08:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Apr 2023 06:45:18 +0000 (08:45 +0200)
commitc393c9e3888d15a693635364835973d07b0f4982
tree902a2c5f808175be6a2250172335c86678bf4931
parentf65cf3684d77a40d98ba4f529f1b8bc413523f2b
BUG/MEDIUM: mux-h1: Report EOI when a TCP connection is upgraded to H2

When TCP connection is first upgrade to H1 then to H2, the stream-connector,
created by the PT mux, must be destroyed because the H2 mux cannot inherit
from it. When it is performed, the SE_FL_EOS flag is set but SE_FL_EOI must
also be set. It is now required to never set SE_FL_EOS without SE_FL_EOI or
SE_FL_ERROR.

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