httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-frederic Clere <jfcl...@gmail.com>
Subject add_member creates 2 workers
Date Tue, 01 Aug 2006 14:01:43 GMT
Hi,

add_member() "creates" 2 workers when the worker is not already existing 
(it "creates" an extra worker if the worker is already existing).
That is because of ap_proxy_add_worker_to_balancer():
+++
    runtime->id = proxy_lb_workers;
    /* Increase the total runtime count */
    proxy_lb_workers++;
+++

I think that is wrong: The balancer does not need a worker it just needs 
a reference to a worker.

Comments?

Cheers

Jean-Frederic

Mime
View raw message