]> 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)
commit1ef99d7b940ab0e58c66ee7de60fe49e79beb65d
tree44cc26c7593c6695993e6bf3f9d7fdf560721bf0
parent01a5d515e1400e483662b2a405db0fb006949779
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