]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: log: Don't systematically set LW_REQ when a sample expr is added
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 6 Apr 2020 16:29:14 +0000 (18:29 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commitd2236cdcc4a69edf976802bcfea43cd5125451e0
tree1d253da6d3acac346ee71a936d6db52cf2186916
parent5f940703b3572f5777be69fa18863578d985e204
MINOR: log: Don't systematically set LW_REQ when a sample expr is added

When a log-format string is parsed, if a sample fetch is found, the flag LW_REQ
is systematically added on the proxy. Unfortunately, this produce a warning
during HAProxy start-up when a log-format string is used for a tcp-check send
rule. Now this flag is only added if the parsed sample fetch depends on HTTP
information.
src/log.c