change execution order of event handler and event finish functions

use sigterm to kill cgi scripts

test cgi kill

handle killpg error

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

mercurial