commit | 1941bab52c58c553d4c12cf23dea5d9f4dc008d5 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue May 05 07:55:50 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue May 05 11:07:00 2020 +0200 |
tree | 94d4be1030e235bc5f7fa8140d9d7dac71f70cef | |
parent | 8dd33e13a507e4f8a4b30d7bbfaf9d39ec64ffac [diff] |
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.