]> granicus.if.org Git - apache/commitdiff
We are doing nothing here... but keep the stubs
authorJim Jagielski <jim@apache.org>
Fri, 8 Dec 2006 21:29:20 +0000 (21:29 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 8 Dec 2006 21:29:20 +0000 (21:29 +0000)
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

index d7b1e629846b06571fdd3e67b5df550cd3965359..ebcce2e693ffcc3876322460d8b61545bf9e23bf 100644 (file)
@@ -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;
 }