]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Fix logical flaw introduced in r1531340. We checked for the opposite.
authorRuediger Pluem <rpluem@apache.org>
Fri, 18 Oct 2013 13:30:52 +0000 (13:30 +0000)
committerRuediger Pluem <rpluem@apache.org>
Fri, 18 Oct 2013 13:30:52 +0000 (13:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533444 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index c283994f257addd5a2da76321d4ea5dc2b71b6b2..d77254259a46bf2c05caf7b61b2ec910b1c23a08 100644 (file)
@@ -2225,7 +2225,8 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
             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.