fix uninitialized memory in http stream, when chunked transfer encoding is used

fix cgi event handling, pipes were not always closed

fix net_http_write when used with chunked transfer encoding and non-blocking IO

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

mercurial