during sighup processing since the pipe-of-death listen_rec was
allocated from a short-lived pool
simply allocating the pipe-of-death listen_rec from the right pool
isn't a complete fix since at that point we no longer get the
proper cleanup and we're left with a file descriptor leak
the simplest overall fix seems to be to keep the pipe-of-death out
of the ap_listeners list for now
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92521
13f79535-47bb-0310-9956-
ffa450edef68
ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, ap_server_conf,
"SIGHUP received. Attempting to restart");
}
+
+ /* get the pipe of death out of the listen_rec list */
+ ap_assert(ap_listeners->bind_addr == 0);
+ ap_listeners = ap_listeners->next;
+
return 0;
}