Checkout
wrowe
committed
on 05 Jun 08
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 rea… Show more
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

Backports: r663704

Show less