SSLproxy/tests
Soner Tari 206734e4b6 Return -1 on error from all configuration functions, never exit()
And use all those return values.

Since we support include files now, we should be able to report in which
include file the error has occured. This is not possible if functions
just bail out calling exit(), because the user has to scroll back stderr
lines to find which include file has failed loading (a line starting
with 'Conf: ').

Plus, calling exit() on errors reduces unit testability of functions.

Also, handle all possible out of memory conditions in opts.c.
2021-09-22 00:51:36 +03:00
..
check Return -1 on error from all configuration functions, never exit() 2021-09-22 00:51:36 +03:00
testproxy Add documentation for filtering rules 2021-09-13 23:10:41 +03:00