Re: implementing delay...

From: Willy Tarreau <w#1wt.eu>
Date: Wed, 5 Aug 2009 16:29:04 +0200


On Wed, Aug 05, 2009 at 04:08:29PM +0200, Andrew Azarov wrote:
> Hi Willy,
>
> The 1.4 seems not to work, for example I have the following:
> frontend xx xxxx:80
> mode http
> tcp-request inspect-delay 30s
> acl to_delay hdr_reg Opera.*
> tcp-request content accept if to_delay WAIT_END
>
> Maybe it is because of the capture cookie or redirect which I have further?

no, there's no reason. However, I notice that you did not put this line :

   tcp-request content reject if ! HTTP

It is important because it will pause the evaluation as long as there's not a complete HTTP request. I think that in your case the evaluation passes through because the incomplete request does not match.

So please try again. If you don't get it to work, I'll try to find some time to test it.

> P.S.: Sorry for the William

as I said, no problem :-)

Cheers,
Willy Received on 2009/08/05 16:29

This archive was generated by hypermail 2.2.0 : 2009/08/05 16:30 CEST