]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] config: improve error reporting in global section
authorWilly Tarreau <w@1wt.eu>
Mon, 20 Jul 2009 07:30:05 +0000 (09:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 26 Jul 2009 15:40:04 +0000 (17:40 +0200)
commite2b61b7bf03287fecbbdad401fcaea95be8e4535
treec230b266a02addcd6982257cffe18bd2840c5973
parent2d99640d85698fffd9fa342bcaf44a8afbc7872e
[MINOR] config: improve error reporting in global section

Try not to immediately exit on non-fatal errors while parsing the
global section, so that the user has a chance to get most of the
errors at once, which is quite convenient especially during config
checks with the -c argument. Some other errors such as unresolved
server names also don't make the parser exit too early.
(cherry picked from commit 058e9074865abd23912127d8847cccb6b5f4eb8b)
src/cfgparse.c
src/haproxy.c