From: Jim Jagielski Date: Thu, 13 Jan 2011 15:59:13 +0000 (+0000) Subject: Set some defaults... do it here @ worker creation, not initialization X-Git-Tag: 2.3.11~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68704e14354570a3175babe4585d1e381c7fd50e;p=apache Set some defaults... do it here @ worker creation, not initialization git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1058627 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index bc405f1c15..64c112044c 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1705,6 +1705,8 @@ PROXY_DECLARE(char *) ap_proxy_define_worker(apr_pool_t *p, wstatus->port = uri.port; wstatus->flush_packets = flush_off; wstatus->flush_wait = PROXY_FLUSH_WAIT; + wstatus->is_address_reusable = 1; + wstatus->lbfactor = 1; wstatus->smax = -1; wstatus->hash = ap_proxy_hashfunc(wstatus->name, PROXY_HASHFUNC_DEFAULT);