From 69bc7d594e812e7fac9f066ea0cfd09ccdf6c631 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Fri, 18 Oct 2013 13:30:52 +0000 Subject: [PATCH] * Fix logical flaw introduced in r1531340. We checked for the opposite. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1533444 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/proxy_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index c283994f25..d77254259a 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -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. -- 2.40.0