]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: listener: deprecate "process" in favor of "thread" on bind lines
authorWilly Tarreau <w@1wt.eu>
Tue, 21 Sep 2021 12:31:29 +0000 (14:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Sep 2021 12:35:42 +0000 (14:35 +0200)
commitc8cac04bd516a5af6fb5a6e967059a90f03c2a99
tree1ac4059fdbbaccd786b5bb4ff6e4afc3a89a0a52
parentcd8a6f28c6d80ffe5eadf683ae878d302b9c5984
MEDIUM: listener: deprecate "process" in favor of "thread" on bind lines

The "process" directive on "bind" lines becomes quite confusing considering
that the only allowed value is 1 for the process, and that threads are
optional and come after the mandatory "1/".

Let's introduce a new "thread" directive to directly configure thread
numbers, and mark "process" as deprecated. Now "process" will emit a
warning and will suggest how to be replaced with "thread" instead.
The doc was updated accordingly (mostly a copy-paste of the previous
description which was already up to date).

This is marked as MEDIUM as it will impact users having "zero-warning"
and "process" specified.
doc/configuration.txt
src/listener.c