Changes with Apache 2.4.11
+ *) event: Fix worker-listener deadlock in graceful restart.
+ PR 56960.
+
*) Concat strings at compile time when possible. PR 53741.
*) mod_substitute: Restrict configuration in .htaccess to
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * event: Fix worker-listener deadlock in graceful restart caused by
- get_worker() allocating new worker after ap_queue_info_term(),
- but not setting the have_idle_worker variable. PR 56960.
- trunk patch: http://svn.apache.org/r1629577
- 2.4.x patch: trunk works
- +1: jkaluza, ylavic, jim
-
* mod_cache_socache: Add cache status to server-status.
The status_hook simply calls the status function of
socache, very much like mod_ssl does for the ssl
else
rc = ap_queue_info_try_get_idler(worker_queue_info);
- if (rc == APR_SUCCESS) {
+ if (rc == APR_SUCCESS || APR_STATUS_IS_EOF(rc)) {
*have_idle_worker_p = 1;
}
else if (!blocking && rc == APR_EAGAIN) {
*all_busy = 1;
}
- else if (!APR_STATUS_IS_EOF(rc)) {
+ else {
ap_log_error(APLOG_MARK, APLOG_ERR, rc, ap_server_conf, APLOGNO(00472)
"ap_queue_info_wait_for_idler failed. "
"Attempting to shutdown process gracefully");