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

(-)apache2-2.2.9-old/modules/proxy/mod_proxy_balancer.c (-7 / +3 lines)
Lines 553-559 Link Here
553
                                       proxy_server_conf *conf)
553
                                       proxy_server_conf *conf)
554
{
554
{
555
555
556
#if 0
557
    apr_status_t rv;
556
    apr_status_t rv;
558
557
559
    if ((rv = PROXY_THREAD_LOCK(balancer)) != APR_SUCCESS) {
558
    if ((rv = PROXY_THREAD_LOCK(balancer)) != APR_SUCCESS) {
Lines 562-569 Link Here
562
            balancer->name);
561
            balancer->name);
563
        return HTTP_INTERNAL_SERVER_ERROR;
562
        return HTTP_INTERNAL_SERVER_ERROR;
564
    }
563
    }
565
    /* TODO: placeholder for post_request actions
564
566
     */
565
    if (worker && worker->s->busy)
566
        worker->s->busy--;
567
567
568
    if ((rv = PROXY_THREAD_UNLOCK(balancer)) != APR_SUCCESS) {
568
    if ((rv = PROXY_THREAD_UNLOCK(balancer)) != APR_SUCCESS) {
569
        ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
569
        ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
Lines 573-582 Link Here
573
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
573
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
574
                 "proxy_balancer_post_request for (%s)", balancer->name);
574
                 "proxy_balancer_post_request for (%s)", balancer->name);
575
575
576
#endif
577
578
    if (worker && worker->s->busy)
579
        worker->s->busy--;
580
576
581
    return OK;
577
    return OK;
582
578

Return to bug 46215