MINOR: checks: Set by default expect rule status to UNKNOWN during parsing
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2020 05:55:50 +0000 (07:55 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2020 09:07:00 +0000 (11:07 +0200)
commit1941bab52c58c553d4c12cf23dea5d9f4dc008d5
tree94d4be1030e235bc5f7fa8140d9d7dac71f70cef
parent8dd33e13a507e4f8a4b30d7bbfaf9d39ec64ffac
MINOR: checks: Set by default expect rule status to UNKNOWN during parsing

The status (ok, error and timeout) of an TCP or HTTP expect rule are set to
HCHK_STATUS_UNKNOWN by default, when not specified, during the configuration
parsing. This does not change the default status used for a terminal expect rule
(ok=L7OK, err=L7RSP and tout=L7TOUT). But this way, it is possible to know if a
specific status was forced by config or not.
src/checks.c