]> granicus.if.org Git - apache/commit
Close the accepted socket before creating the CGI process in mod_cgid.
authorRyan Bloom <rbb@apache.org>
Wed, 21 Feb 2001 19:07:21 +0000 (19:07 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 21 Feb 2001 19:07:21 +0000 (19:07 +0000)
commitf740468deb2adc744415c81c6337e29e4306883a
tree44cc26c7593c6695993e6bf3f9d7fdf560721bf0
parent36c56ce7222874fbf37a1cefac862f4dcd8e49ff
Close the accepted socket before creating the CGI process in mod_cgid.
This is safe, because we have already dup'ed the socket for the CGI
process itself.  This change allows CGI processes to fork long-lived
child processes without affecting how quickly the response gets back
to the broswer.

PR: 7273
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>
Reviewed by: Ryan Bloom

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