Re: [PATCH] DOC: proxies: HAProxy only supports 3 connection modes
On Wed, Dec 11, 2019 at 11:02:10AM +0100, Julien Pivotto wrote: > I meant the opposite :) > > Client <- close -> HAProxy <- keepalive -> Backend On the frontend side it's particularly rare to want to close considering the cost of establishing a new connection in terms of timing. We've continued to implement close mainly to remain compatible with our previous versions that were too limited in fact. Do you have a use case where it would really make a difference ? If that's rare enough, I suspect that simply adding "http-response add-header connection close" should do the trick, as it will flow to the mux which will close. Willy
Re: [PATCH] DOC: proxies: HAProxy only supports 3 connection modes
On 11 Dec 10:51, Willy Tarreau wrote: > On Wed, Dec 11, 2019 at 10:49:00AM +0100, Julien Pivotto wrote: > > On 11 Dec 10:19, Willy Tarreau wrote: > > > On Tue, Dec 10, 2019 at 01:11:17PM +0100, Julien Pivotto wrote: > > > > The 4th one (forceclose) has been deprecated and deleted from the > > > > documentation in 10c6c16cde0b0b473a1ab16e958a7d6b61ed36fc > > > > > > > > Signed-off-by: Julien Pivotto > > > (...) > > > > > > Applied, thank you Julien. > > > Willy > > > > I am wondering wether there would be a value in adding a 4th one where > > we would keep alive the client connection but not the backend > > connection. > > That's exactly http-server-close. And yes it's very useful! I meant the opposite :) Client <- close -> HAProxy <- keepalive -> Backend > > Willy -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
Re: [PATCH] DOC: proxies: HAProxy only supports 3 connection modes
On Wed, Dec 11, 2019 at 10:49:00AM +0100, Julien Pivotto wrote: > On 11 Dec 10:19, Willy Tarreau wrote: > > On Tue, Dec 10, 2019 at 01:11:17PM +0100, Julien Pivotto wrote: > > > The 4th one (forceclose) has been deprecated and deleted from the > > > documentation in 10c6c16cde0b0b473a1ab16e958a7d6b61ed36fc > > > > > > Signed-off-by: Julien Pivotto > > (...) > > > > Applied, thank you Julien. > > Willy > > I am wondering wether there would be a value in adding a 4th one where > we would keep alive the client connection but not the backend > connection. That's exactly http-server-close. And yes it's very useful! Willy
Re: [PATCH] DOC: proxies: HAProxy only supports 3 connection modes
On 11 Dec 10:19, Willy Tarreau wrote: > On Tue, Dec 10, 2019 at 01:11:17PM +0100, Julien Pivotto wrote: > > The 4th one (forceclose) has been deprecated and deleted from the > > documentation in 10c6c16cde0b0b473a1ab16e958a7d6b61ed36fc > > > > Signed-off-by: Julien Pivotto > (...) > > Applied, thank you Julien. > Willy I am wondering wether there would be a value in adding a 4th one where we would keep alive the client connection but not the backend connection. -- (o-Julien Pivotto //\Open-Source Consultant V_/_ Inuits - https://www.inuits.eu signature.asc Description: PGP signature
Re: [PATCH] DOC: proxies: HAProxy only supports 3 connection modes
On Tue, Dec 10, 2019 at 01:11:17PM +0100, Julien Pivotto wrote: > The 4th one (forceclose) has been deprecated and deleted from the > documentation in 10c6c16cde0b0b473a1ab16e958a7d6b61ed36fc > > Signed-off-by: Julien Pivotto (...) Applied, thank you Julien. Willy