]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: master/cli: Pin the master CLI on the first thread of the group 1
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Sep 2023 08:13:30 +0000 (10:13 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Sep 2023 08:26:32 +0000 (10:26 +0200)
commit13fb7170beeea4afbe461d22bb13ba664ce299df
treed07da48df920633f9e1e2de4c9da4bd1140085c4
parent3790eb4f855e8897277193e83e4a80ba3ee09b4d
BUG/MEDIUM: master/cli: Pin the master CLI on the first thread of the group 1

There is no reason to start the master CLI on several threads and on several
groups. And in fact, it must not be done otherwise the same FD is inserted
several times in the fdtab, leading to a crash during startup because of a
BUG_ON(). It happens when several groups are configured.

To fix the bug the master CLI is now pinned on the first thread of the first
group.

This patch should fix the issue #2259 and must be backported to 2.8.
src/cli.c