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

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

mercurial