BUG/MINOR: mux-h2: Fix H2_CF_DEM_SHORT_READ value
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Nov 2021 16:50:10 +0000 (17:50 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 23 Nov 2021 15:34:07 +0000 (16:34 +0100)
commite507d057fb2cb20059e77d309de9456cc5613f9f
treee287753aac0303b6eb7e9ec7cf54a8d7211e71d7
parent0c7de072c8f7e358124a8ae6bb8b6c2d074463a9
BUG/MINOR: mux-h2: Fix H2_CF_DEM_SHORT_READ value

The value for H2_CF_DEM_SHORT_READ flag is wrong. 2 bits are erroneously
set, 0x200 and 0x80000.  It is not an issue because both bits are not used
anywhere else.

The typo was introduced in the commit b5f7b5296 ("BUG/MEDIUM: mux-h2: Handle
remaining read0 cases on partial frames"). Thus this patch must also be
backported as far a 2.0.

(cherry picked from commit 47940c39e2195f03960a461081488c7603ad7167)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 484f10ad3bd735cd729b60b988a73e6f0c4dd391)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h2.c