]> granicus.if.org Git - apache/commit
mod_cgid: Terminate CGI scripts when the client connection
authorJeff Trawick <trawick@apache.org>
Mon, 11 Nov 2002 23:07:29 +0000 (23:07 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 11 Nov 2002 23:07:29 +0000 (23:07 +0000)
commit374d918a85c4024705f6a00f0eb32045b7fa8068
tree960b1432c7bdaa42af38cbce8ea933ef86646b8e
parent3f40cc20068972fe58741363cb552da7e40334da
mod_cgid: Terminate CGI scripts when the client connection
drops.

This is done by mod_cgid daemon remembering the pid, which is queried
by the handler at the end of the request.  The handler then
knocks out the CGI script (if it is indeed still running).

It would be slightly easier for the daemon to do this, but naughty
scripts which are hard to kill would hold up all new CGI requests
if the daemon stopped its normal processing to kill a script.

PR: 8388

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97489 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/generators/mod_cgid.c