stop cgi read-event processing if an error occured

change nsapi_function_return behavior: move saf return to the end of the event cycle

handle eof in cgi_stdout_readevent to fix potential double free in cgi_event_finish

change execution order of event handler and event finish functions

use sigterm to kill cgi scripts

test cgi kill

handle killpg error

use SIGKILL instead of SIGTERM to cgi scripts in case of errors

kill broken cgi processes as soon as possible

log cgi pid

fix build

add more cgi debug logging

add wait_read to cgi debug logging

add workaround for blocking cgi waitpid

(0) -300 -100 -14 +14 tip

mercurial