]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Be able to set custom status code on parsing error
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Sep 2021 16:38:20 +0000 (18:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 14:18:17 +0000 (16:18 +0200)
commitb3230f76e8540825aa003a58424aadc049b9ae51
tree3e10ea8f6825a06d5d996dc96366dc63b456efc5
parent36e46aa28ca902ffa3eae93a23208da7c3bc09d7
MINOR: mux-h1: Be able to set custom status code on parsing error

When a parsing error is triggered, the status code may be customized by
setting H1C .errcode field. By default a 400-Bad-Request is returned. The
function h1_handle_bad_req() has been renamed to h1_handle_parsing_error()
to be more generic.
src/mux_h1.c