]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: mux-h2: fix end-of-stream flag name when processing headers
authorWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 07:10:14 +0000 (08:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 3 Jan 2019 07:12:54 +0000 (08:12 +0100)
commit880f58049226e842e36e286a1653b714e8075b82
tree443a0db0ff7ef684992d320e2b858ce11bb22ab4
parent59884a646c046411a9080e72d2266ba6a4d4d166
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.
src/mux_h2.c