httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Punch <>
Subject [PATCH 41743] Graceful restart with prefork mpm issue
Date Tue, 01 Feb 2011 23:57:16 GMT

I have contributed a patch to the long-standing bug 41743. A summary of
the issue is that if a keep-alive connection is active then the child
process never exits in certain cases (see bug for full details).

The expected behaviour, the behaviour of worker and the behaviour of 1.3
is that a "Connection: close" is issued then the connection is closed.

I have created a patch which simply returns die_now from the function

Joe Orton commented:
> The fix for this on the trunk was r645434, which replaced use of
> ap_graceful_stop_signalled() with ap_mpm_query().

> This does look insufficient to fix the bug for prefork, since the
> signal handler does not change mpm_state (prefork.c:sig_term).

So my question is which of these alternatives do you prefer:
1. Move ahead with my current patch
2. I modify prefork.c so the signal handler changes mpm_state


View raw message