commit | b3230f76e8540825aa003a58424aadc049b9ae51 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Sep 21 18:38:20 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Sep 28 16:18:17 2021 +0200 |
tree | 3e10ea8f6825a06d5d996dc96366dc63b456efc5 | |
parent | 36e46aa28ca902ffa3eae93a23208da7c3bc09d7 [diff] |
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.