]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: Try to get the status code when MUX_EXIT_STATUS is retrieved
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 09:36:28 +0000 (11:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Sep 2021 11:52:25 +0000 (13:52 +0200)
commita015b3ec8b2fa37ad493d33ddda4afba81ea3906
tree51e560fccc419e7d2daf5021b3cbe57ff5ea5030
parent2d5d4e0c3efa569c19aff66701013e9c20e19979
MINOR: log: Try to get the status code when MUX_EXIT_STATUS is retrieved

The mux .ctl callback can provide some information about the mux to the
caller if the third parameter is provided. Thus, when MUX_EXIT_STATUS is
retrieved, a pointer on the status is now passed. The mux may fill it. It
will be pretty handy to provide custom error code from h1 mux instead of
default ones (400/408/500/501).
src/log.c