1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

* 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
This commit is contained in:
Ruediger Pluem
2013-10-18 13:30:52 +00:00
parent d897f098f9
commit 69bc7d594e

View 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.