MEDIUM: checks: Add matching on log-format string for expect rules
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 5 May 2020 13:54:22 +0000 (15:54 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 May 2020 06:31:29 +0000 (08:31 +0200)
commitaaab0836d99f8d5e55a5f063b8e11e9325adf169
tree8fe471fcfc01f64feaea75eb966c0c04f6b5f27c
parent0d6909b33bf22e95ebc5e99278665bbb8f785301
MEDIUM: checks: Add matching on log-format string for expect rules

It is now possible to use log-format string (or hexadecimal string for the
binary version) to match a content in tcp-check based expect rules. For
hexadecimal log-format string, the conversion in binary is performed after the
string evaluation, during health check execution. The pattern keywords to use
are "string-lf" for the log-format string and "binary-lf" for the hexadecimal
log-format string.
doc/configuration.txt
include/types/checks.h
src/checks.c