- Aug 26, 2005
-
-
Colm MacCarthaigh authored
Implement a "graceful-stop" for the prefork MPM (might aswell do the hard one first). General approach is to send SIGUSR1 to all children (which will de-listen, and exit when finished), and to gather all children as they exit. We don't use a sleep(timeout) for the timeout implementation, because this would lead to a rut of defunct children until the timeout had expired. set_graceful_shutdown stolen from Ken Coar. See <3E84B1EC.3050007@Golux.Com> (28 Mar 2003). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240270 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Make the neccessary changes to mpm_common and main to support a graceful-stop command line argument. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240269 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Remove the note about WINCH on certain platforms. As of r239430, this is no longer the case and USR1 will be used on all platforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240258 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 25, 2005
-
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240101 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
for the same port, switch them so that the bind to [::] is attempted first. Submitted by: colm, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240096 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
(open_listeners): Simplify using the new macros; no functional change. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240092 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
A very minor, but particularly annoying whitespace fix. It took me 15 minutes to try and parse what was going on :-) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240089 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Update the documentation for the ScriptSock directive to match the .PID extension. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240049 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Append the .PID to the ScriptSock filename. This change ensures that multiple running instances of httpd will not clobber each others script sockets. Because a different socket will be created for each instance, this change also unlinks the script-socket on exit, to prevent pollution. unlink() happens from within the parent process, since the change in userid's means the cgid process likely won't have the correct permissions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240044 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
nit: Consistently CamelCase "ScriptSock". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@240043 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 24, 2005
-
-
Colm MacCarthaigh authored
Implement "de-listening" in the worker MPM. Fixes PR28167. Comments in CHANGES file also cover r239710-1. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239740 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Correct the function prototype/declaration git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239732 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Implement "de-listening" for graceful restarts with the prefork MPM. With this change; 1.) httpd -k graceful sends SIGUSR1 to the parent pid, which in turn sends SIGUSR1 to all of the active children, 2.) Active children each close their copy of listener fd's. This means that the listening sockets are freed for re-use. In the ordinary case, this makes no difference. However if for example admin changes "Listen 80" to "Listen 81" in the config, this rev makes port 80 immediately available (no waiting for the graceful children to die). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239711 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Provide a function for closing all of the listeners. * This is useful for properly implementing a graceful stop and restart where we want child processess to be able to carry on serving a request but "de-listen" from a port. So that another instance entirely can be started in our place, or to unbind from a "Listen" directive an admin has removed from the configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239710 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239692 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239686 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239685 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239684 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239681 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239678 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239677 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239633 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239629 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239618 13f79535-47bb-0310-9956-ffa450edef68
-
Nick Kew authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239617 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239616 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Remove over-zealous and invalid use of <indent></indent> in the Caching User-guide. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239563 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 23, 2005
-
-
Colm MacCarthaigh authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239460 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
A first take at a User-Guide for caching. Covers mod_cache and mod_file_cache, and tries to place the caching modules in context. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239459 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
cache header files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239436 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
graceful restart signal. Frees up SIGWINCH for implementing graceful stop. See <20050727114058.GA3390@stdlib.net> and subsequent thread on httpd-dev. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239430 13f79535-47bb-0310-9956-ffa450edef68
-
Andreas Steinmetz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239423 13f79535-47bb-0310-9956-ffa450edef68
-
Andreas Steinmetz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239422 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Enhance CacheEnable/CacheDisable to control caching on a per-protocol, per-host and per-path basis. Makes Cache(En|Dis)able useful for forward proxy servers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239421 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
remove some unused variables and re-name cache_select_url() to simply cache_select() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239420 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
Improve the cache hit/miss ratio by canonicalising the url key. hostname's are matched case-insensitively, port-based vhosts are catered for and the scheme included for future multi-scheme caching compatibility. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239407 13f79535-47bb-0310-9956-ffa450edef68
-
Andreas Steinmetz authored
to allow inclusion of mod_disk_cache.h in htcacheclean.c. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239406 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239382 13f79535-47bb-0310-9956-ffa450edef68
-
Colm MacCarthaigh authored
mod_disk_cache.h, an all-round better solution, but for now just fix the bug. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239381 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 22, 2005
-
-
Astrid Kessler authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@239256 13f79535-47bb-0310-9956-ffa450edef68
-