Re: Fwd: Very odd behavior with 'cookie' only working intermittently

2019-05-10 Thread Willy Tarreau
On Fri, May 10, 2019 at 10:53:07AM +0200, Willy Tarreau wrote: > On Wed, Jun 26, 2013 at 12:10:27PM -0400, Chris Patti wrote: (...) Just noticed that a thread sorting issue on my side brought this very old thread back and that this post is probably not interesting anymore to the initial requester!

Re: Fwd: Very odd behavior with 'cookie' only working intermittently

2019-05-10 Thread Willy Tarreau
On Wed, Jun 26, 2013 at 12:10:27PM -0400, Chris Patti wrote: > Thank you *VERY* much for this tidbit Nenad. > > With the early version of HAProxy we're using (v1.3.18) the actual syntax > is: > > option httpclose > > This worked perfectly, session afinity started performing as expected. > > (Ju

Re: Fwd: Very odd behavior with 'cookie' only working intermittently

2013-06-26 Thread Chris Patti
Thank you *VERY* much for this tidbit Nenad. With the early version of HAProxy we're using (v1.3.18) the actual syntax is: option httpclose This worked perfectly, session afinity started performing as expected. (Just wanted to record this for posterity) -Chris On Fri, Jun 14, 2013 at 5:39 P

Re: Fwd: Very odd behavior with 'cookie' only working intermittently

2013-06-14 Thread Nenad Merdanovic
Hello Chris, You are missing one of the options to tell HAproxy to examine every request and not just first one for each connection. Add this to the defaults section: option http-server-close (or httpclose/forceclose, whatever suits you) timeout http-keep-alive 5s (for example, tune to your needs

Fwd: Very odd behavior with 'cookie' only working intermittently

2013-06-14 Thread Chris Patti
Hello, we have two machines with identical haproxy configurations, set up to load balance each other, with Tomcat on the back end. We're seeing the SERVERID cookie only being set intermittently, despite the fact that as per our understanding it should be set with every response. When the cookie i