mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-15 12:01:12 -04:00
CLEANUP: mux-h2: fix end-of-stream flag name when processing headers
In h2c_decode_headers() we mistakenly check for H2_F_DATA_END_STREAM while we should check for H2_F_HEADERS_END_STREAM. Both have the same value (1) but better stick to the correct flag.
This commit is contained in:
parent
59884a646c
commit
880f580492
1 changed files with 1 additions and 1 deletions
|
|
@ -3332,7 +3332,7 @@ next_frame:
|
|||
}
|
||||
|
||||
/* OK now we have our header list in <list> */
|
||||
msgf = (h2c->dff & H2_F_DATA_END_STREAM) ? 0 : H2_MSGF_BODY;
|
||||
msgf = (h2c->dff & H2_F_HEADERS_END_STREAM) ? 0 : H2_MSGF_BODY;
|
||||
|
||||
if (htx) {
|
||||
/* HTX mode */
|
||||
|
|
|
|||
Loading…
Reference in a new issue