BUG/MINOR: mux-h1: Don't emit extra CRLF for empty chunked messages
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Feb 2021 08:34:35 +0000 (09:34 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 8 Feb 2021 08:43:36 +0000 (09:43 +0100)
commit3d6e0e3e0421358303f1380d8c3fd062b509b921
treee7d1ec56d7af9b3ac24bc5e5dee3cb8259b43d41
parentf00cdb18563e6f57a4ad6c0b40e0116ca9c8fd69
BUG/MINOR: mux-h1: Don't emit extra CRLF for empty chunked messages

Because of a buggy tests when processing the EOH HTX block, an extra CRLF is
added for empty chunked messages. This bug was introduced by the commit
d1ac2b90c ("MAJOR: htx: Remove the EOM block type and use HTX_FL_EOM
instead").

This fix is specific for 2.4. No backport needed.
src/mux_h1.c