From ba2a767fe674991787053efb2e2ec155d0a2d913 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Fri, 8 Dec 2006 21:29:20 +0000 Subject: [PATCH] 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 --- modules/proxy/mod_proxy_balancer.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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; } -- 2.40.0