]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tcpcheck: Only wait for more payload data on HTTP expect rules
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 9 Dec 2020 17:45:47 +0000 (18:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Dec 2020 10:48:15 +0000 (11:48 +0100)
commitcad5f5e1ede350e92a0e0b1626d636f1c70c646d
tree710f5c869ed96e213d4ffbe0380d890bc3d052d0
parentc878f56f7c921135acca5e3dccf7961422928285
MINOR: tcpcheck: Only wait for more payload data on HTTP expect rules

For HTTP expect rules, if the buffer is not empty, it is guarantee that all
responses headers are received, with the start-line. Thus, except for
payload matching, there is no reason to wait for more data from the moment
the htx message is not empty.

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