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
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:
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