]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2/htx: never leave a trailers block alone with no EOM block
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 09:17:32 +0000 (11:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 09:17:32 +0000 (11:17 +0200)
commit2135f91d18ae79c5360d32dd8bf10f42aa6ff8b4
treecaece5644e481dca71f4f8eb11fd21a4fd74410a
parentfb07b3f82536aea25177c527b1002c2dfce19261
BUG/MEDIUM: h2/htx: never leave a trailers block alone with no EOM block

If when receiving an H2 response we fail to add an EOM block after too
large a trailers block, we must not leave the trailers block alone as it
violates the internal assumptions by not being followed by an EOM, even
when an error is reported. We must then make sure the error will safely
be reported to upper layers and that no attempt will be made to forward
partial blocks.

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