Re: svn commit: r721987 - in /httpd/httpd/trunk: CHANGES modules/proxy/config.m4 modules/proxy/mod_lbmethod_heartbeat.c

2008-12-05 Thread Paul Querna
Ruediger Pluem wrote: On 12/01/2008 08:25 AM, [EMAIL PROTECTED] wrote: Author: pquerna Date: Sun Nov 30 23:25:11 2008 New Revision: 721987 URL: http://svn.apache.org/viewvc?rev=721987view=rev Log: Add a new module to read in the heartbeat file and do load balancing for mod_proxy based upon

Re: svn commit: r721987 - in /httpd/httpd/trunk: CHANGES modules/proxy/config.m4 modules/proxy/mod_lbmethod_heartbeat.c

2008-12-01 Thread Ruediger Pluem
On 12/01/2008 08:25 AM, [EMAIL PROTECTED] wrote: Author: pquerna Date: Sun Nov 30 23:25:11 2008 New Revision: 721987 URL: http://svn.apache.org/viewvc?rev=721987view=rev Log: Add a new module to read in the heartbeat file and do load balancing for mod_proxy based upon it. Added:

Re: svn commit: r721987 - in /httpd/httpd/trunk: CHANGES modules/proxy/config.m4 modules/proxy/mod_lbmethod_heartbeat.c

2008-12-01 Thread Paul Querna
Ruediger Pluem wrote: +for (i = 0; i balancer-workers-nelts; i++) { +worker = APR_ARRAY_IDX(balancer-workers, i, proxy_worker); +server = apr_hash_get(servers, worker-hostname, APR_HASH_KEY_STRING); Hm, the hash uses IP addresses as keys whereas worker-hostname could be