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

implement keep-alive timeout

refactore keep alive handler

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

mercurial