]> 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:24:11 +0000 (17:24 +0200)
commit058e9074865abd23912127d8847cccb6b5f4eb8b
treec7865a79b1cf935d8466240e394eb676685cb485
parentda6721ba28d4c917e07ffa7fef1d8707c80c54b6
[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.
src/cfgparse.c
src/haproxy.c