]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
httpd-2.2 and -2.0 specific patch to revert to 2.0.55/2.2.0 handling of the
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 5 Jun 2008 19:11:27 +0000 (19:11 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 5 Jun 2008 19:11:27 +0000 (19:11 +0000)
commita41ca03cd6feaa25784c0fc9c12df2920f68bc61
tree903ba529356b3ccf12c3a74e35a56a7f7cf52fcc
parent76d5ac53019a1be1d7b0d03b0d39947f074edd37
httpd-2.2 and -2.0 specific patch to revert to 2.0.55/2.2.0 handling of the
stdout channel; do not close stdout in the parent process or reassign it to
\\Device\Null, but keep it open so that the console signal handler continues
to interact with the running "daemonized" httpd process.

Not committed to httpd-2.x; there is disagreement as to whether this is good
behavior for a daemon, and the proper 2.4(3.0) behavior on Win32 may be to
daemonize but properly handle -k stop by the PID file contents.  Many have
asked for this feature who run a minimal httpd.exe, especially from some
removeable media such as CD, and wish to be able to halt it as a console.

PR: 44800 (part 3/3)
Submitted by: tdonovan

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@663704 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/winnt/mpm_winnt.c