I tested the head of 1.5 and patch you backported there fixes the issue for
me.

Thanks!

-Bryan



On Thu, Aug 21, 2014 at 10:09 PM, Thierry FOURNIER <tfourn...@haproxy.com>
wrote:

> Hi,
>
> Thanks for the analysis. In fact, the patch reset the tarpit timeout
> before exiting the function.
>
> I join a fix.
>
> Thierry
>
>
> On Thu, 21 Aug 2014 18:47:28 -0700
> Bryan Talbot <bryan.tal...@playnext.com> wrote:
>
> > Starting from commit bbba2a8ecc35daf99317aaff7015c1931779c33b
> (1.5-dev24-8)
> > the "timeout tarpit" setting is ignored and "timeout connect" is always
> > used instead.
> >
> >
> >    MEDIUM: http: jump to dedicated labels after http-request processing
> >
> >     Continue the cleanup of http-request post-processing to remove some
> >     of the interleaved tests. Here we set up a few labels to deal with
> >     the deny and tarpit actions and avoid interleaved ifs.
> >
> >
> > The "timeout tarpit" is still ignored in 1.5.3.
> >
> > The problem can be reproduced using the config shown here with defaults
> for
> > everything else.
> >
> > listen foo
> >   mode http
> >   timeout connect        5s
> >   timeout client         4s
> >   timeout server         3s
> >   timeout tarpit         1s
> >   bind :8888
> >   reqtarpit .
> >
> >
> > I've used the old "reqtarpit" syntax since that was needed to bisect from
> > older versions that did not support the "http-request tarpit" syntax but
> > the problem remains for either syntax.
> >
> > -Bryan
>

Reply via email to