From: Jim Jagielski Date: Fri, 8 Dec 2006 21:29:20 +0000 (+0000) Subject: We are doing nothing here... but keep the stubs X-Git-Tag: 2.3.0~1980 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba2a767fe674991787053efb2e2ec155d0a2d913;p=apache 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 --- diff --git a/modules/proxy/mod_proxy_balancer.c b/modules/proxy/mod_proxy_balancer.c index d7b1e62984..ebcce2e693 100644 --- a/modules/proxy/mod_proxy_balancer.c +++ b/modules/proxy/mod_proxy_balancer.c @@ -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; }