]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: tcpcheck: Properly detect pending HTTP data in output buffer
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 11 Aug 2021 13:46:29 +0000 (15:46 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Aug 2021 05:49:23 +0000 (07:49 +0200)
commit47bfd7b9b78c71ffa08d65f0cef475f5d2ae7b80
tree54d624c60a597e269057e5c8ae494a332f5bdde2
parent8c29fa7454137f655903b8b5d8c137c66f321863
BUG/MINOR: tcpcheck: Properly detect pending HTTP data in output buffer

In tcpcheck_eval_send(), the condition to detect there are still pending
data in the output buffer is buggy. Presence of raw data must be tested for
TCP connection only. But a condition on the connection was missing to be
sure it is not an HTX connection.

This patch must be backported as far as 2.2.
src/tcpcheck.c