MINOR: mux-h1: Separate parsing and formatting errors at H1 stream level
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Sep 2020 08:05:44 +0000 (10:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Dec 2020 13:41:48 +0000 (14:41 +0100)
commit60ef12c80bf66bcca781b847f49141586eef8474
tree5a09e77d85e6b0f564fc7005f7519eabdb16e2b5
parent0a799aa3d6d123f6055965bfcaa5fc2361cdeef0
MINOR: mux-h1: Separate parsing and formatting errors at H1 stream level

Instead of using H1S flags to report an error on the request or the
response, independently it is a parsing or a formatting error, we now use a
flag to report parsing errors and another one to report formatting
ones. This simplify the message parsing. It is also easier to figure out
what error happened when one of this flag is set. The side may be deduced
checking the H1C_F_IS_BACK flag.
src/mux_h1.c