adds more error handling and logging to send_cgi

fixes socket fd leak when SSL_accept fails

fixes cgi cleanup

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

mercurial