When the pipe handles are created, the security descriptor indicates that the handle can be inherited. However, we do not want the server side handles to the pipe to be inherited by the child CGI process. If the child CGI does inherit the server side handles, then the child may be left around if the server closes its handles (e.g. if the http connection is aborted), because the child will have a valid copy of handles to both sides of the pipes, and no I/O error will occur. Microsoft recommends using DuplicateHandle to turn off the inherit bit under NT and Win95. PR: 2884, 2910 Submitted by: Ken Parzygnat <kparz@raleigh.ibm.com> Reviewed by: Ken Coar git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82192 13f79535-47bb-0310-9956-ffa450edef68
Please register or sign in to comment