]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cli/threads: always bind CLI to thread group 1
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jul 2022 09:52:24 +0000 (11:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 17:43:10 +0000 (19:43 +0200)
commit6bdf9452c09030d4944e6d045b6f60f55c38e97a
tree15dd6c5ca9381a1872335807e40621d107dc0653
parentdcbd763fe9d133096136c362740d27970aa88ff2
MINOR: cli/threads: always bind CLI to thread group 1

When using multiple groups, the stats socket starts to emit errors and
it's not natural to have to touch the global section just to specify
"thread 1/all". Let's pre-attach these sockets to thread group 1. This
will cause errors when trying to change the group but this really is not
a problem for now as thread groups are not enabled by default. This will
make sure configs remain portable and may possibly be relaxed later.
src/cli.c