cleanup the connection-internals at the end of the of the response and not at the end of the connection

- fixed 100% loops and error-log messages for mod_cgi ("sandy" <sjen@cs.stanford.edu>)


git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@884 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 18 years ago
parent 052f83e095
commit 4de36723c0

@ -1278,7 +1278,7 @@ int mod_cgi_plugin_init(plugin *p) {
p->version = LIGHTTPD_VERSION_ID;
p->name = buffer_init_string("cgi");
p->handle_connection_close = cgi_connection_close_callback;
p->handle_connection_reset = cgi_connection_close_callback;
p->handle_subrequest_start = cgi_is_handled;
p->handle_subrequest = mod_cgi_handle_subrequest;
#if 0

Loading…
Cancel
Save