]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: checks: expire on timeout.check if smaller than timeout.connect
authorWilly Tarreau <w@1wt.eu>
Fri, 25 May 2012 05:41:38 +0000 (07:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 May 2012 05:42:37 +0000 (07:42 +0200)
commit1e44a49c8973f08ee1e35d8737f4677db11cf7ab
tree0cd78ff24ff426a5c4c54f8cbd1d0ec4ebc2e233
parent8dc4184c57aa826bc3bf5c13dfed754fec678654
BUG/MINOR: checks: expire on timeout.check if smaller than timeout.connect

It happens that haproxy doesn't displace the task in the wait queue when
validating a connection, so if the check timeout is set to a smaller value
than timeout.connect, it will not strike before timeout.connect.

The bug is present at least in 1.4.15..1.4.21, so the fix must be backported.
src/checks.c