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

(-)httpd-2.2.11.orig/modules/proxy/mod_proxy_balancer.c (-1 / +8 lines)
Lines 1170-1177 Link Here
1170
                 * The worker might still be unusable, but we try
1170
                 * The worker might still be unusable, but we try
1171
                 * anyway.
1171
                 * anyway.
1172
                 */
1172
                 */
1173
                if (!PROXY_WORKER_IS_USABLE(worker))
1173
                if (!PROXY_WORKER_IS_USABLE(worker)) {
1174
                    ap_proxy_retry_worker("BALANCER", worker, r->server);
1174
                    ap_proxy_retry_worker("BALANCER", worker, r->server);
1175
                    if (PROXY_WORKER_IS_USABLE(worker)) {
1176
                        /* Busyness counter should be reset
1177
                         * when the worker is returned to be usable.
1178
                         */
1179
                        worker->s->busy = 0;
1180
                    }
1181
                }
1175
                /* Take into calculation only the workers that are
1182
                /* Take into calculation only the workers that are
1176
                 * not in error state or not disabled.
1183
                 * not in error state or not disabled.

Return to bug 47063