Re: Regarding client side keep-alive

2016-04-28 Thread Willy Tarreau
On Fri, Apr 22, 2016 at 02:48:43PM +0200, Baptiste wrote: > > Basically, I want the client<>haProxy side to use keep alive, but > > haProxy<>server side to close every connection and open a new one for each > > request. > > > > Is it then correct to use http-server-close? > > You are correct. Set

RE: Regarding client side keep-alive

2016-04-26 Thread Stefan Johansson
Many thanks! Cheers. -Original Message- From: Baptiste [mailto:bed...@gmail.com] Sent: den 22 april 2016 14:49 To: Stefan Johansson Cc: haproxy@formilux.org Subject: Re: Regarding client side keep-alive > Basically, I want the client<>haProxy side to use keep alive, but

Re: Regarding client side keep-alive

2016-04-22 Thread Baptiste
> Basically, I want the client<>haProxy side to use keep alive, but > haProxy<>server side to close every connection and open a new one for each > request. > > Is it then correct to use http-server-close? You are correct. Set it up in your defaults section or in both the frontend and the backend.

Regarding client side keep-alive

2016-04-22 Thread Stefan Johansson
Hi, This is probably quite simple, but I just want to make sure I got this right. Basically, I want the client<>haProxy side to use keep alive, but haProxy<>server side to close every connection and open a new one for each request. Is it then correct to use http-server-close? Currently I use