]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: only warn if stats are attached to multi-process bind directives
authorWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2014 13:11:04 +0000 (15:11 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 16 Sep 2014 13:43:24 +0000 (15:43 +0200)
commiteb791e03b5c5abfddb24a439fa6434788db026b7
treee9de910dc889c11ea7001f93deecf53e1ab5d3ce
parent419ead8eca9237f9cc2ec32630d96fde333282ee
MEDIUM: config: only warn if stats are attached to multi-process bind directives

Some users want to have a stats frontend with one line per process, but while
100% valid and safe, the config parser emits a warning. Relax this check to
ensure that the warning is only emitted if at least one of the listeners is
bound to multiple processes, or if the directive is placed in a backend called
from multiple processes (since in this case we don't know if it's safe).
src/cfgparse.c