fix memory leak in case handle_request fails (some illegal requests)

implement keep-alive timeout

refactore keep alive handler

refactore EventHandler: add common fields to base struct

fix netbuf_getbytes prematurely returns NETBUF_EOF

fix net_ssl_writev skipping bytes

replace EWOULDBLOCK with EAGAIN

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

mercurial