]> git.ipfire.org Git - thirdparty/squid.git/commit
Regression Fix: Make Squid abort on parse failures.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 31 Jan 2010 23:20:22 +0000 (12:20 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 31 Jan 2010 23:20:22 +0000 (12:20 +1300)
commit843419aa3f81f072cb0b921d258f26fd723f20ce
tree75c91bb16186c2c1bdebf1b0c3fa4942c6053aad
parent07806c019f397dd1a7a7ddc4ca427a8cdb15c617
Regression Fix: Make Squid abort on parse failures.

The addition of multi-file parsing and catching of thrown errors between
them caused any errors in sub-files to be non-fatal and allow Squid to
run as if everything was normal, even if parts of the config were not
being loaded.

Squid will now propigate the error exception out and exit with a count of
the errors found.

The main() safety wrapper from 3.1 has also been ported to catch some
unwanted crashes.
src/main.cc