Re: route !HTTP connections to tcp backend instead of dropping in HTTP mode

2011-12-16 Thread Lukasz Michalski
On 12/13/2011 07:59 AM, Willy Tarreau wrote: I think that have to setup some tcp content analyzer that will be able to read first 15 bytes from traffic and then route connection to stunnel or haproxy only if this is not a policy file request. Yes, then you can proceed that way : - have

Delay Frontend Binding?

2011-12-16 Thread Joel Krauska
Is it possible to delay the FrontEnd binding until the back ends have had time to do health checks and rise? Scenario: I use multiple HAProxy nodes with multiple A records. eg: foo.example.com resolves to a.b.c.d and a.b.c.z If the first machine goes down, most browsers happily move along to a

Re: Slowness in establishing connections from ruby to Haproxy after upgrading from 1.4.8 to 1.4.18

2011-12-16 Thread Willy Tarreau
Hi Tim, On Tue, Dec 13, 2011 at 06:01:49PM -0500, Timothy Garnett wrote: Hi Willy, Thanks very much for your response. It looks like it does have something to do with TCP_NODELAY. Setting option http-server-close had no effect on this problem. However, if I set option http-no-delay in