server.c: Fix wrong priority for do_exit
Under some specific circumstances, poll(2) would return a positive integer, but do_exit might had been previously set. This caused libweb to ignore SIGTERM, with the potential risk for an endless loop.
This commit is contained in:
parent
43be8d95f6
commit
91ff743df9