]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: Properly handle truncated mysql server messages
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 08:24:23 +0000 (10:24 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 08:24:27 +0000 (10:24 +0200)
commit733dd73443b75143944e566f698014c6c8a522b5
tree6042324e36ea0c507064b897cce16b6305e39e11
parent587c414071f0b32a5385e517d23947289bc12dee
BUG/MINOR: checks: Properly handle truncated mysql server messages

If a message is not fully received from a mysql server, depending on last_read
value, an error must be reported or we must wait for more data. The first if
statement must not check last_read.

Partly fixes issue #600. No backport needed.
src/checks.c