]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: make sure the warmup task takes the server lock
authorWilly Tarreau <w@1wt.eu>
Sun, 5 May 2019 04:54:22 +0000 (06:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 5 May 2019 04:54:22 +0000 (06:54 +0200)
commit4fc49a9aabacc8028877e2dcbdb54d8a19c398c4
tree45163b7fef5ebdeb2c011e775991e6d4b6743365
parent223995e8ca13f3a59df4231ed0aabd6c3f74a76f
BUG/MEDIUM: checks: make sure the warmup task takes the server lock

The server warmup task is used when a server uses the "slowstart"
parameter. This task affects the server's weight and maxconn, and may
dequeue pending connections from the queue. This must be done under
the server's lock, which was not the case.

This must be backported to 1.9 and 1.8.
src/checks.c