]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Properly catch parsing errors on payload and trailers
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2019 08:36:28 +0000 (09:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Nov 2019 13:24:06 +0000 (14:24 +0100)
commit02a0253888978541414da52bd880102685240b5d
tree3f66ce4164956b265732a6f7887633cd40809535
parent2ac257440943c5e32b2f380acede2c51fc9954e8
BUG/MINOR: mux-h1: Properly catch parsing errors on payload and trailers

Errors during the payload or the trailers parsing are reported with the
HTX_FL_PARSING_ERROR flag on the HTX message and not a negative return
value. This change was introduced when the fonctions to convert an H1 message to
HTX one were moved to a dedicated file. But the h1 mux was not fully updated
accordingly.

No backport needed except if the commits about file h1_htx.c are backported.
src/mux_h1.c