]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Stop xform buffers to null-terminated string for tcp-check rules
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 19 Mar 2020 15:59:45 +0000 (16:59 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 07:39:37 +0000 (09:39 +0200)
commit21f3695126c1bc2bfdf32e1b12661b40a4311f7e
tree89aaf6d6f0ddb9600feec00dd1abc334f98f958d
parent9e47fa4b3dd06dc84ce58743235f351ddfb5a398
MINOR: checks: Stop xform buffers to null-terminated string for tcp-check rules

On the input buffer, it was mainly done to call regex_exec() function. But
regex_exec2() can be used instead. This way, it is no more required to add the
terminating null byte. For the output buffer, it was only done for debugging
purpose.
src/checks.c