]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Set error code if possible when MUX_EXIT_STATUS is returned
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 09:45:05 +0000 (11:45 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 14:17:59 +0000 (16:17 +0200)
commit36e46aa28ca902ffa3eae93a23208da7c3bc09d7
tree3d2f627b22e138a91bd3d31f4200f0d7f99351a5
parenta015b3ec8b2fa37ad493d33ddda4afba81ea3906
MINOR: mux-h1: Set error code if possible when MUX_EXIT_STATUS is returned

In h1_ctl(), if output parameter is provided when MUX_EXIT_STATUS is
returned, it is used to set the error code. In addition, any client errors
(4xx), except for 408 ones, are handled as invalid errors
(MUX_ES_INVALID_ERR). This way, it will be possible to customize the parsing
error code for request messages.
src/mux_h1.c