On Tue, Oct 09, 2012 at 07:32:01AM +0200, Guillaume Castagnino wrote: > Hi, > > Le lundi 08 octobre 2012 23:06:58 kgardenia42 a écrit : > > The problem is that in more than 50% of cases smp_fetch_payload() gets > > called when no data has been read from the client. I realize that > > normally a load balancer would be in the same data-centre as the pool > > members but it still seems like a bug. Do you agree? Actually when > > I think about it - I'm not sure how relevant this even is because the > > client *is* local to the load balancer and the problem occurs before > > the upstream connection is even made so actually I think the upstream > > latency may not be a factor at all. > > Do you have played with the "tcp-request inspect-delay " option ? > Unless I'm mistaken, I think it can help you, when doing tcp content > inspection.
You're totally right, this is needed in order to wait as long as needed for the data. Otherwise the routing decision is taken as soon as possible even if there are no data yet. Willy

