MINOR: checks: Support log-format string to set the body for HTTP send rules
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 May 2020 13:38:58 +0000 (15:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 6 May 2020 16:04:05 +0000 (18:04 +0200)
commit574e7bd7f3e882ba1fa86d8a1f8f2fc07186ef5e
tree859426eedccf4036190a129b2f1250137e0aa2c0
parent7c95f5f22bcc378a2dc4629ee5dcb1ecb308ed28
MINOR: checks: Support log-format string to set the body for HTTP send rules

For http-check send rules, it is now possible to use a log-format string to set
the request's body. the keyword "body-lf" should be used instead of "body". If the
string eval fails, no body is added.
doc/configuration.txt
reg-tests/checks/http-check.vtc
src/checks.c