]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r484789 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 10 Apr 2007 12:38:08 +0000 (12:38 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 10 Apr 2007 12:38:08 +0000 (12:38 +0000)
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/branches/2.2.x@527107 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/proxy/mod_proxy_balancer.c

diff --git a/STATUS b/STATUS
index 1616d92b9deacdfb7d89043388d2e4e33985a88a..e3207d9a51ec94a87b22ac917270365ab8ef2a78 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -77,20 +77,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-   * mod_proxy_balancer: Remove unnecessary lock/unlock for
-     the post_request hook. We are actually doing nothing here.
-     But keep the code (but macroed out) for future usage.
-     Trunk version of patch:
-       http://svn.apache.org/viewvc?view=rev&revision=484789
-       http://svn.apache.org/viewvc?view=rev&revision=484794
-     2.2.x version of patch:
-       Trunk version works.
-     +1: jim, mturk, rpluem
-         rpluem says: Shouldn't we remove this code on 2.2.x? Keeping seems to
-         be ok for me on trunk, but on a stable branch?
-         jim says: the reason why we keep it is in case we
-         ever start using it. So we keep the framework in
-         that case. Make trunk backports easier.
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
 
index 02f5ac3a3e2e9c115df3cb2097f0b74a370054a6..5b376cbd762b0d5b314eb14166b6aa98601ef3e5 100644 (file)
@@ -497,6 +497,8 @@ static int proxy_balancer_post_request(proxy_worker *worker,
                                        request_rec *r,
                                        proxy_server_conf *conf)
 {
+
+#if 0
     apr_status_t rv;
 
     if ((rv = PROXY_THREAD_LOCK(balancer)) != APR_SUCCESS) {
@@ -505,12 +507,7 @@ static int proxy_balancer_post_request(proxy_worker *worker,
             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
      */
 
     if ((rv = PROXY_THREAD_UNLOCK(balancer)) != APR_SUCCESS) {
@@ -521,6 +518,8 @@ static int proxy_balancer_post_request(proxy_worker *worker,
     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                  "proxy_balancer_post_request for (%s)", balancer->name);
 
+#endif
+
     return OK;
 }