From: Christopher Faulet Date: Thu, 30 Apr 2020 05:50:54 +0000 (+0200) Subject: DOC: Document the log-format parameter for tcp-check send/send-binary rules X-Git-Tag: v2.2-dev7~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fff67e2e7bdb76e93caae0d7d83b675f281882;p=thirdparty%2Fhaproxy.git DOC: Document the log-format parameter for tcp-check send/send-binary rules The documentation was not updated when the parameter was added. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 371fd8a446..0a32064234 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -10271,7 +10271,7 @@ tcp-check expect [min-recv ] [comment ] "tcp-check send-binary", "http-check expect", tune.chksize -tcp-check send [comment ] +tcp-check send [comment ] [log-format] Specify a string to be sent as a question during a generic health check May be used in sections: defaults | frontend | listen | backend yes | no | yes | yes @@ -10279,6 +10279,8 @@ tcp-check send [comment ] Arguments : comment defines a message to report if the rule evaluation fails. + log-format specifies must be evaluated a log-format string. + the data to be sent as a question during a generic health check session. For now, must be a string. @@ -10292,7 +10294,7 @@ tcp-check send [comment ] "tcp-check send-binary", tune.chksize -tcp-check send-binary [comment ] +tcp-check send-binary [comment ] [log-format] Specify a hex digits string to be sent as a binary question during a raw tcp health check May be used in sections: defaults | frontend | listen | backend @@ -10301,6 +10303,8 @@ tcp-check send-binary [comment ] Arguments : comment defines a message to report if the rule evaluation fails. + log-format specifies must be evaluated a log-format string. + test the exact string in its hexadecimal form matches in the response buffer. A health check response will be considered valid if the response's buffer contains this exact hexadecimal