]> granicus.if.org Git - apache/commitdiff
Set some defaults... do it here @ worker creation, not initialization
authorJim Jagielski <jim@apache.org>
Thu, 13 Jan 2011 15:59:13 +0000 (15:59 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 13 Jan 2011 15:59:13 +0000 (15:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1058627 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_util.c

index bc405f1c1534b06be4ec3b4f7083790c1ed73c3b..64c112044c8362bd473d089dafef5ef11b2e5782 100644 (file)
@@ -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);