]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: Fix 'fix_tag_value' sample when waiting for more data
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Oct 2021 15:58:53 +0000 (17:58 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 15 Oct 2021 12:12:19 +0000 (14:12 +0200)
commita5aa08274241b519fcfe3077ec0cc336921392be
tree5b5673f38eb2f0eef80a20018321fdd2a3631865
parent597909f4e67866c4f3ecf77f95f2cd4556c0c638
BUG/MINOR: sample: Fix 'fix_tag_value' sample when waiting for more data

The test on the return value of fix_tag_value() function was inverted. To
wait for more data, the return value must be a valid empty string and not
IST_NULL.

This patch must be backported to 2.4.
src/sample.c