MINOR: tcpcheck: Add support of L7OKC on expect rules error-status argument
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 20 Nov 2020 16:47:47 +0000 (17:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Nov 2020 09:30:23 +0000 (10:30 +0100)
commit83662b5431ceff1b47ba346310deaff9a240d50a
tree2f8f949f0f2c83a366ff0c32efa97def96cac4d8
parent1e527cbf53d0a97a61bb5d710cc15d3e3f4ffe85
MINOR: tcpcheck: Add support of L7OKC on expect rules error-status argument

L7OKC may now be used as an error status for an HTTP/TCP expect rule. Thus
it is for instance possible to write:

    option httpchk GET /isalive
    http-check expect status 200,404
    http-check expect status 200 error-status L7OKC

It is more or less the same than the disable-on-404 option except that if a
DOWN is up again but still replying a 404 will be set to NOLB state. While
it will stay in DOWN state with the disable-on-404 option.
doc/configuration.txt
src/tcpcheck.c