fix cgi_writeevent not returning immediately when cgi IO is already done

add more debug logging to cgi_stdout_readevent

add more cgi logging

simplify ev_handle_events on linux

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

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

mercurial