Hi Benoit,

On Wed, Mar 25, 2009 at 01:02:10PM +0100, Benoit wrote:
> Craig a écrit :
> > Hi,
> >
> > is it possible to "balance source" based on a X-Forwarded-For header?
> > That's a feature I'd very much like to use, because I'm running a squid
> > cache as reverse proxy on the same machine as ha-proxy and the squid
> > forwards all requests to ha-proxy, which then does the load-balancing -
> > which won't work based on source, because it's always 127.0.0.1.
> > I've searched the docs, but can't think about a possibility (or maybe
> > I'm a bit blind...).
> >
> > Thanks,
> > Craig
> >
> >   
> There is a patch made by me that allow for balancing on any http header
> field.
> I don't now if willy has made it into the core but you can apply it and
> test (patch
> was  made for 1.3.15.7 but could apply to 1.3.16 too).

I thought I had merged it but it's not there. Grrr... and I've just released
1.3.17 to fix the timeout and CPU usage issues. I will have to make a new
release with all the pending minor changes such as this one.

Regards,
Willy


Reply via email to