httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: svn commit: r239711 - /httpd/httpd/trunk/server/mpm/prefork/prefork.c
Date Wed, 24 Aug 2005 19:02:37 GMT
--On August 24, 2005 4:58:14 PM +0000 colm@apache.org wrote:

> Author: colm
> Date: Wed Aug 24 09:58:11 2005
> New Revision: 239711
>
> URL: http://svn.apache.org/viewcvs?rev=239711&view=rev
> Log:
>
> 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).

Looks fine.  However, this is probably worth a CHANGES entry.

Thanks!  -- justin

Mime
View raw message