View | Details | Raw Unified | Return to bug 47063
Collapse All | Expand All

(-)httpd-2.2.11.orig/modules/proxy/mod_proxy.c (+8 lines)
Lines 1024-1029 Link Here
1024
        /* Try again if the worker is unusable and the service is
1024
        /* Try again if the worker is unusable and the service is
1025
         * unavailable.
1025
         * unavailable.
1026
         */
1026
         */
1027
        if (balancer) {
1028
            /* Since the unusable worker was returned by the pre_request
1029
             * handler, run the post_request handler to clean up (e.g.
1030
             * decrement the "busy" counter) before trying to find a new
1031
             * worker.
1032
             */
1033
            proxy_run_post_request(worker, balancer, r, conf);
1034
        }
1027
    } while (!PROXY_WORKER_IS_USABLE(worker) &&
1035
    } while (!PROXY_WORKER_IS_USABLE(worker) &&
1028
             max_attempts > attempts++);
1036
             max_attempts > attempts++);
1029
1037

Return to bug 47063