Commit 5226faf8 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

We are doing nothing here... but keep the stubs

in case we ever do.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@484789 13f79535-47bb-0310-9956-ffa450edef68
parent 780c1635
Loading
Loading
Loading
Loading
+3 −6
Changes for modules/proxy/mod_proxy_balancer.c: 3 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -525,24 +525,21 @@ static int proxy_balancer_post_request(proxy_worker *worker,
{
    apr_status_t rv;

#if 0
    if ((rv = PROXY_THREAD_LOCK(balancer)) != APR_SUCCESS) {
        ap_log_error(APLOG_MARK, APLOG_ERR, rv, r->server,
            "proxy: BALANCER: (%s). Lock failed for post_request",
            balancer->name);
        return HTTP_INTERNAL_SERVER_ERROR;
    }
    /* TODO: calculate the bytes transferred
     * This will enable to elect the worker that has
     * the lowest load.
     * The bytes transferred depends on the protocol
     * used, so each protocol handler should keep the
     * track on that.
    /* TODO: placeholder for post_request actions
     */

    PROXY_THREAD_UNLOCK(balancer);
    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                 "proxy_balancer_post_request for (%s)", balancer->name);

#endif
    return OK;
}