event: close a race condition where we might re-enable listeners while they
are already or about to be closed.
Submitted by: ylavic
Reviewed by: ylavic, jim, wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1783413 13f79535-47bb-0310-9956-
ffa450edef68
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) event: close a race condition where we might re-enable listeners while they
- are already or about to be closed.
- trunk patch: http://svn.apache.org/r1774541
- 2.4.x patch: trunk works
- +1: ylavic, jim, wrowe
-
*) mod_proxy_fcgi: Return HTTP 504 rather than 503 in case of proxy timeout.
trunk patch: http://svn.apache.org/r1775858
2.4 patch: trunk works (modulo CHANGES)
static void enable_listensocks(int process_slot)
{
int i;
+ if (listener_may_exit) {
+ return;
+ }
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(00457)
"Accepting new connections again: "
"%u active conns (%u lingering/%u clogged/%u suspended), "