]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: properly abort on trailers decoding errors
authorWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 09:26:47 +0000 (10:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jan 2019 14:27:06 +0000 (15:27 +0100)
commit31e846a07197034938ad5028486eaddc93a440d8
tree62fadeef3604f7ee5fb2cea8da942c6fe3fa3a30
parent5ce63372543646c512cd2876a904671fa34b88a1
BUG/MEDIUM: mux-h2: properly abort on trailers decoding errors

There was an incomplete test in h2c_frt_handle_headers() resulting
in negative return values from h2c_decode_headers() not being taken
as errors. The effect is that the stream is then aborted on timeout
only.

This fix must be backported to 1.9.
src/mux_h2.c