Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-11 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 07/10/2006 12:21 PM, Jean-frederic Clere wrote: Ruediger Pluem wrote: context could be used. But I am thinking of sharing the balacing information with another program. By changing proxy_worker_stat * to a void * and arranging the corresponding code the first step

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-11 Thread Jim Jagielski
On Jul 10, 2006, at 6:21 AM, Jean-frederic Clere wrote: Easy. See enclosed patch. -1. This breaks current behavior. +1 for the warning, but -1 for the breakage. Index: modules/proxy/mod_proxy.c === ---

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-11 Thread Jim Jagielski
On Jul 11, 2006, at 4:07 AM, Jean-frederic Clere wrote: Once the shared data is accessed via a small API nothing prevent us going on using the scoreboard but will allow to use any other shared storage. The scoreboard was never meant to be a central place where modules are encouraged

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-10 Thread Jean-frederic Clere
Ruediger Pluem wrote: On 09.07.2006 16:37, Jim Jagielski wrote: Ruediger Pluem wrote: So it makes sense from my perspective to add a void pointer *to* the proxy_worker_stat structure to enable balancers to store custom data that is private to them. This already exists. See

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-10 Thread Ruediger Pluem
On 07/10/2006 12:21 PM, Jean-frederic Clere wrote: Ruediger Pluem wrote: context could be used. But I am thinking of sharing the balacing information with another program. By changing proxy_worker_stat * to a void * and arranging the corresponding code the first step to store the shared

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-09 Thread Jim Jagielski
Ruediger Pluem wrote: So it makes sense from my perspective to add a void pointer *to* the proxy_worker_stat structure to enable balancers to store custom data that is private to them. This already exists. See void*context; /* general purpose storage */ --

Re: [Fwd: Re: proxy_worker_stat in mod_proxy]

2006-07-09 Thread Ruediger Pluem
On 09.07.2006 16:37, Jim Jagielski wrote: Ruediger Pluem wrote: So it makes sense from my perspective to add a void pointer *to* the proxy_worker_stat structure to enable balancers to store custom data that is private to them. This already exists. See void*context;