You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2006/12/08 22:29:21 UTC
svn commit: r484789 - /httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Author: jim
Date: Fri Dec 8 13:29:20 2006
New Revision: 484789
URL: http://svn.apache.org/viewvc?view=rev&rev=484789
Log:
We are doing nothing here... but keep the stubs
in case we ever do.
Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?view=diff&rev=484789&r1=484788&r2=484789
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Fri Dec 8 13:29:20 2006
@@ -525,24 +525,21 @@
{
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;
}