This patch protects the Apache/Win32 child process and it's children from faulting against invalid stdout/stderr handles, or allocating such handles as a recovery mechanism. stdout and stderr are passed by the parent as handles to the "null" device (e.g. /dev/nul). Also solved a handle leak issue when failing to create a child process. Finally, this patch solves 90% of the Win9x issues by -not- freeing the Apache child process from its console. On Win9x, as the child process created a 16 bit cgi process, such as command.com, that cgi created its own console window. This was fatal, since 16 bit apps in their own console do -not- properly close the pipes on Win9x. NT is not affected. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@86982 13f79535-47bb-0310-9956-ffa450edef68
Loading
Please register or sign in to comment