From: Ruediger Pluem Date: Fri, 18 Oct 2013 13:30:52 +0000 (+0000) Subject: * Fix logical flaw introduced in r1531340. We checked for the opposite. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73f3095300c6e0e91c8ae7023bb7fde79d1d562a;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index c283994f257..d77254259a4 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.