fix cgi_writeevent not returning immediately when cgi IO is already done

add more debug logging to cgi_stdout_readevent

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

mercurial