Load balance - php curl - tcp stream

2025-03-26 Thread haproxy
Hello, I have a question concerning HAProxy load balancing via php curl requests using three Omnis servers as destination, and I hope there is someone who might be able to get me on the right track, because I'm a little lost at the moment. How things are running initially and working: - our

Re: [PATCH] MEDIUM: lb-chash: add directive hash-preserve-affinity

2025-03-26 Thread Willy Tarreau
On Wed, Mar 26, 2025 at 09:26:29AM +, psavalle wrote: > > Finally it failed on the CI on all but one instance :-) > > > > https://github.com/haproxy/haproxy/actions/runs/14065686272/job/39387465537 > > > > It's only balance-hash-maxqueue that fails, not the other one. So I'll > > mark it as "

Re: Load balance - php curl - tcp stream

2025-03-26 Thread Lukas Tribus
Hello, On Wed, 26 Mar 2025 at 16:32, haproxy wrote: > My question(s): > > how can I capture the PHPSESSID in the HAProxy config? You need to be in "mode http", otherwise you cannot access HTTP headers or HTTP cookies, required to use session stickiness. > maybe out of the scope of HAProxy:

Re: [PATCH] MEDIUM: lb-chash: add directive hash-preserve-affinity

2025-03-26 Thread psavalle
> Finally it failed on the CI on all but one instance :-) > > https://github.com/haproxy/haproxy/actions/runs/14065686272/job/39387465537 > > It's only balance-hash-maxqueue that fails, not the other one. So I'll > mark it as "broken" with a comment saying that it tends to work locally > but not