]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: listener: Allow multiple "process" options on "bind" lines
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Nov 2017 21:23:08 +0000 (22:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 24 Nov 2017 14:38:49 +0000 (15:38 +0100)
commit15eb3a9a08639a53e477dd4cc73f63f559fbafda
treebdc96a68b22078c6cd8813a61a8cd2db69f1b07e
parentecb73b12c1d8bead2bcf5bf8d06647708a20070e
BUG/MINOR: listener: Allow multiple "process" options on "bind" lines

The documentation specifies that you can have several "process" options to
define several ranges on "bind" lines (or "stats socket" lines). It is uncommon,
but it should be possible. So the bind_proc bitmask in bind_conf structure must
not be overwritten at each new "process" option parsed.

This bug also exists in 1.7, 1.6 and 1.5. So it may be backported. But no one
seems to have noticed it, so it was probably never hitted.
src/listener.c