BUG/MINOR: mux-h1: Return an error on trailers if last chunk is unfinished
On send patch, there were already some tests to detect truncated chunks, but
always when handling an HTX DATA bloc. There was nothing similar on
trailers. So it was possibly to emit end of chunks and start to send
trailers while the last chunk was unfinished.
So it is a bug, but only it could only be triggered if another part is able
to emit invalid HTX message. Unfortunatly it was the case. This patch is
related to the commit
86a4ebc76 ("BUG/MAJOR: h3: reject H3 truncated
frames").
This patch should be backported as far as 3.0. On older versions, the code
is too different.