Haproxy closes the connection with an RST.

Baptiste
Le 9 avr. 2015 16:54, "Pavlos Parissis" <[email protected]> a
écrit :

> On 09/04/2015 02:52 μμ, Dieter van Zeder wrote:
> > ‎Here's the the stripped-down configuration. Http-server-close is
> required in order to use leastconn. The frontend actually contains various
> acl rules, thus mode http.
> >
>
> I had a look at the doc and it isn't mentioned that http-server-close is
> required by leastcon balance method. Am I missing something here?
>
> Hold on a second. HAProxy 1.5 (I assume you use that version) runs in
> keep-alive mode by default, which means your app will see the TCP
> connection on the server-side closed as soon as the client closes the
> connection. Unless defaults timeouts play a role here.
>
> Remove option http-server-close and recheck if curl and crtl+c.
>
> Cheers,
> Pavlos
>
>
>

Reply via email to