You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2013/10/18 15:30:53 UTC

svn commit: r1533444 - /httpd/httpd/trunk/modules/proxy/proxy_util.c

Author: rpluem
Date: Fri Oct 18 13:30:52 2013
New Revision: 1533444

URL: http://svn.apache.org/r1533444
Log:
* Fix logical flaw introduced in r1531340. We checked for the opposite.

Modified:
    httpd/httpd/trunk/modules/proxy/proxy_util.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c?rev=1533444&r1=1533443&r2=1533444&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_util.c (original)
+++ httpd/httpd/trunk/modules/proxy/proxy_util.c Fri Oct 18 13:30:52 2013
@@ -2225,7 +2225,8 @@ ap_proxy_determine_connection(apr_pool_t
             conn->port = uri->port;
         }
         socket_cleanup(conn);
-        if (!(*worker->s->uds_path) && worker->s->is_address_reusable && !worker->s->disablereuse) {
+        if (!(*worker->s->uds_path) &&
+            (!worker->s->is_address_reusable || worker->s->disablereuse)) {
             /*
              * Only do a lookup if we should not reuse the backend address.
              * Otherwise we will look it up once for the worker.