]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: tcp-check must not stop on '\0' for binary checks
authorWilly Tarreau <w@1wt.eu>
Tue, 13 May 2014 15:57:29 +0000 (17:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 May 2014 16:02:04 +0000 (18:02 +0200)
commitec6b012bf4e4157c14e474db0a85e80f7e618b94
tree4a5557ff8236a25aa6dbef24b2ea4688317a8fcc
parent4e5ed29668d9a8bb090cad15068317beb167ec72
BUG/MINOR: checks: tcp-check must not stop on '\0' for binary checks

Abuse of copy-paste has made "tcp-check expect binary" to consider a
buffer starting with \0 as empty! Thanks to Lukas Benes for reporting
this problem and confirming the fix.

This is 1.5-only, no backport is needed.
src/checks.c