You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2006/04/16 11:12:26 UTC
svn commit: r394446 - in /httpd/httpd/trunk: CHANGES
modules/proxy/mod_proxy_balancer.c
Author: rpluem
Date: Sun Apr 16 02:12:24 2006
New Revision: 394446
URL: http://svn.apache.org/viewcvs?rev=394446&view=rev
Log:
* Also initialize local data structures for workers of a balancer.
PR: 38227, 39267
Submitted by: James A. Robinson <jim.robinson stanford.edu>
Reviewed by: rpluem
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?rev=394446&r1=394445&r2=394446&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Sun Apr 16 02:12:24 2006
@@ -2,6 +2,9 @@
Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_proxy_balancer: Initialize members of a balancer correctly.
+ PR 38227. [James A. Robinson <jim.robinson stanford.edu>]
+
*) mod_proxy: Do not release connections from connection pool twice.
PR 38793. [Ruediger Pluem, matthias <mk-asf gigacodes.de>]
Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c?rev=394446&r1=394445&r2=394446&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_balancer.c Sun Apr 16 02:12:24 2006
@@ -88,6 +88,7 @@
for (i = 0; i < balancer->workers->nelts; i++) {
ap_proxy_initialize_worker_share(conf, workers, s);
+ ap_proxy_initialize_worker(workers, s);
++workers;
}