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

(-)httpd-2.2.13.orig/modules/proxy/mod_proxy.c (+10 lines)
Lines 1005-1010 Link Here
1005
            if (balancer) {
1005
            if (balancer) {
1006
                worker->s->status |= PROXY_WORKER_IN_ERROR;
1006
                worker->s->status |= PROXY_WORKER_IN_ERROR;
1007
                worker->s->error_time = apr_time_now();
1007
                worker->s->error_time = apr_time_now();
1008
                /* Busyness counter should be reset
1009
                 * when the worker is down.
1010
                 */
1011
                if (worker->s->busy)
1012
                    worker->s->busy = 0;
1008
            }
1013
            }
1009
            break;
1014
            break;
1010
        }
1015
        }
Lines 1016-1021 Link Here
1016
            if (balancer) {
1021
            if (balancer) {
1017
                worker->s->status |= PROXY_WORKER_IN_ERROR;
1022
                worker->s->status |= PROXY_WORKER_IN_ERROR;
1018
                worker->s->error_time = apr_time_now();
1023
                worker->s->error_time = apr_time_now();
1024
                /* Busyness counter should be reset
1025
                 * when the worker is down.
1026
                 */
1027
                if (worker->s->busy)
1028
                    worker->s->busy = 0;
1019
            }
1029
            }
1020
        }
1030
        }
1021
        else {
1031
        else {

Return to bug 47063