]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2/htx: always fail on too large trailers
authorWilly Tarreau <w@1wt.eu>
Mon, 6 May 2019 09:12:18 +0000 (11:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 09:08:02 +0000 (11:08 +0200)
commitaab1a6097790774a4a36cd38fcac84128e52697b
tree9521d209069e227a08012436a01a81a6d36c4ffd
parent5121e5d7508e3b403a844b92d31bcac7efaf6dd7
BUG/MEDIUM: h2/htx: always fail on too large trailers

In case a header frame carrying trailers just fits into the HTX buffer
but leaves no room for the EOM block, we used to return the same code
as the one indicating we're missing data. This could would result in
such frames causing timeouts instead of immediate clean aborts. Now
they are properly reported as stream errors (since the frame was
decoded and the compression context is still synchronized).

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