diff options
| author | Christopher Faulet <cfaulet@haproxy.com> | 2021-11-10 17:50:10 +0100 |
|---|---|---|
| committer | Christopher Faulet <cfaulet@haproxy.com> | 2021-11-10 18:04:36 +0100 |
| commit | 47940c39e2195f03960a461081488c7603ad7167 (patch) | |
| tree | a6b86bd655572e7740b7001369b30f1e985bb77c | |
| parent | d19d7762c18a3519d262372ac2332a3ef81998cd (diff) | |
| download | haproxy-47940c39e2195f03960a461081488c7603ad7167.tar.gz | |
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.
| -rw-r--r-- | src/mux_h2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mux_h2.c b/src/mux_h2.c index ff51cb59c..e186d0b1b 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -61,7 +61,7 @@ static const struct h2s *h2_idle_stream; #define H2_CF_DEM_BLOCK_ANY 0x000001F0 // aggregate of the demux flags above except DALLOC/DFULL // (SHORT_READ is also excluded) -#define H2_CF_DEM_SHORT_READ 0x00080200 // demux blocked on incomplete frame +#define H2_CF_DEM_SHORT_READ 0x00000200 // demux blocked on incomplete frame /* other flags */ #define H2_CF_GOAWAY_SENT 0x00001000 // a GOAWAY frame was successfully sent |
