]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: backend: hold correctly lock when killing idle conn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Jan 2021 09:16:29 +0000 (10:16 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 12 Feb 2021 11:32:31 +0000 (12:32 +0100)
commita3bf62ec541479531ebe93bde46b436cb95c9a87
tree8167f605a2b5392061d288a97f7da068c174b154
parentcd7126b39650dfd99ae1cb73e339e5c9824b04ba
BUG/MINOR: backend: hold correctly lock when killing idle conn

The wrong lock seems to be held when trying to remove another thread
connection if max fd limit has been reached (locking the current thread
instead of the target thread lock).

This could be backported up to 2.0.
src/backend.c