fix cgi_writeevent not returning immediately when cgi IO is already done

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

mercurial