Complete the WinNT 4.0 compatibility as a service and console app, with proper handling in the parent and child of close window, ctrl+c/break, and logoff/shutdown events, they all work properly. This will be tested shortly on Win2000, where it is expected to work without incident. Note that any console event handler in a child or the service parent interfered with these various events, so only the console parent process has a console monitor, while the child process always has a console (without a handler) to execute 16-bit CGI processes. While fighting with this code, added a -z arg in place of the -Z arg for the child process to determine that it is a child of a service. Since this change ultimately was unneeded in WinNT, it may go away if it offers nothing for the Win9x code path. Also restructured the service.c file to organize by monitors/children/services and group the atexit() routines, since it gave me a headache. Once the 9x flow is working correctly, all the various handlers will be documented in service.c, and a new 2.0 patch created from the final result. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@87059 13f79535-47bb-0310-9956-ffa450edef68
Please register or sign in to comment