]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: init: report in "haproxy -c" whether there were warnings or not
authorWilly Tarreau <w@1wt.eu>
Wed, 15 Apr 2020 14:06:11 +0000 (16:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 15 Apr 2020 14:42:00 +0000 (16:42 +0200)
commitbebd2120649f0a3cc907ca207e76175979f77e55
tree36d9eb7e8448f62885b2fd47ce563691fa04c609
parent8ba10fea69aff458ee0be9c32a432dcc319f8f0b
MINOR: init: report in "haproxy -c" whether there were warnings or not

This helps quickly checking if the config produces any warning. For
this we reuse the "warned" bit field to add a new WARN_ANY bit that is
set by ha_warning(). The rest of the bit field was also cleaned from
unused bits.
doc/management.txt
include/types/global.h
src/haproxy.c
src/log.c