]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM/MINOR: proxy: do not init proxy management task if unused
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 2 Dec 2025 16:29:19 +0000 (17:29 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 23 Dec 2025 15:35:49 +0000 (16:35 +0100)
commita4a17eb36698c927de1c3171236fcc5a6997721a
tree33380d83ffc02c603c4ef153b2ff4dd8bfcd7101
parentc397f6fc9ae6a965585be3bbba1fdfc92a51e68c
OPTIM/MINOR: proxy: do not init proxy management task if unused

Each proxy has its owned task for internal purpose. Currently, it is
only used either by frontends or if a stick-table is present.

This commit rendres the task allocation optional to only the required
case. Thus, it is not allocated anymore for backend only proxies without
stick-table.
src/cfgparse.c