commit | 0506d9de512291ed2526654800b98a2317a67b6d | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 28 18:44:14 2023 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 28 18:44:15 2023 +0100 |
tree | 15a5def198bf59d570edad6d3dec492627166c6a | |
parent | fb5fff19fee40c660f9839f3bb0b40f33d4899e7 [diff] |
BUG/MINOR: http-check: Don't set HTX_SL_F_BODYLESS flag with a log-format body When the HTTP request of a health-check is forged, we must not pretend there is no payload, by setting HTX_SL_F_BODYLESS, if a log-format body was configured. Indeed, a test on the body length was used but it is only valid for a plain string. For A log-format string, a list is used. Note it an bug with no consequence for now. This patch must be backported as far as 2.2.