]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: always alloc idle conns task
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 8 Mar 2021 16:31:39 +0000 (17:31 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 18 Mar 2021 14:37:05 +0000 (15:37 +0100)
commit3efee6572f41666927b18d04e4ac2dae49095b89
treeca8cd90ea2da1553ebdcd1c5e8ad7976d8feb71f
parent828adf0121c9edfac75a0c780a63e7ec3af9cfde
MINOR: cfgparse: always alloc idle conns task

The idle conn task is is a global task used to cleanup backend
connections marked for deletion. Previously, it was only only allocated
if at least one server in the configuration has idle connections.

This assumption won't be valid anymore when new servers can be created
at runtime with idle connections. Always allocate the global idle conn
task.
src/cfgparse.c