Re: timeout http-request

From: Willy Tarreau <>
Date: Tue, 29 Apr 2008 11:10:17 +0200

Hi Dan,

On Mon, Apr 28, 2008 at 03:42:02PM -0700, Dan Zubey wrote:
> I've been working with the 'timeout http-request' option, and to my
> understanding, if I set
> timeout http-request 5s
> and I telnet to my haproxy server on the port it's listening on, haproxy
> should close the session in 5 seconds if I do not give it proper headers
> before then.
> This isn't what I'm getting. What I'm seeing is the connection being
> held open until 'timeout client'.
> Has anyone else had success or failure in using the timeout http-request
> option?

that's not what I'm observing here. Using the test config "test-timeout.cfg", I correctly get the connection closed after 6 seconds. But maybe it only works because there are other timeouts. Could you check this config on your side, then post your so that I can try to find what is going wrong ?

Willy Received on 2008/04/29 11:10

This archive was generated by hypermail 2.2.0 : 2008/04/29 11:15 CEST