commit | 18280ca240afe28f79a1bbfa5c8f6949230bfe1c | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Aug 11 15:46:29 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 12 16:44:05 2021 +0200 |
tree | 9b22b126f6cd9e104228938b7ba1f056eaa953f9 | |
parent | 4d593e01961e6c28ea7cdd068f74807c28fd39e2 [diff] |
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. (cherry picked from commit 47bfd7b9b78c71ffa08d65f0cef475f5d2ae7b80) Signed-off-by: Willy Tarreau <w@1wt.eu>