DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28167>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28167 Children don't close the main socket immediately on receipt of a graceful restart ------- Additional Comments From [EMAIL PROTECTED] 2004-06-07 20:44 ------- Here are the diffs from .48. Very straightforward. This server is in heavy use and we haven't seen any problems with it yet, and graceful restarts close the main socket correctly. ==== //depot/httpd-2.0.48-src/server/listen.c#2 (text) ==== @@ -387,6 +387,11 @@ return num_open ? 0 : -1; } +void ap_close_listeners() +{ + (void) close_listeners_on_exec(0); +} + int ap_setup_listeners(server_rec *s) { ap_listen_rec *lr; ==== //depot/httpd-2.0.48-src/server/mpm/worker/worker.c#2 (text) ==== @@ -857,6 +857,9 @@ } } + /* bp: stop listening to the main socket(s) */ + ap_close_listeners(); + ap_queue_term(worker_queue); dying = 1; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
