Hi Joao, On Mon, Jan 01, 2018 at 03:12:40PM -0200, Joao Morais wrote: > > > Em 30 de dez de 2017, à(s) 15:32, Willy Tarreau <w...@1wt.eu> escreveu: > > > > - implemented the graceful shutdown on HTTP/2 connections during a reload > > so that we can inform the client we're going to close, encouraging the > > client to switch to a new connection. This avoids connections from > > lasting forever after reloads on H2. I also noticed that it allows the > > process to be replaced faster. > > Hi Willy, is there something like this on 1.7.x? This would be useful on eg > websockets.
1.7 doesn't have H2 so it doesn't need this. It already has the equivalent for HTTP/1 which consists in disabling keep-alive on existing connections. Regarding websocket, it's different. The websocket connections switch to tunnel mode so there is no more notion of request/response nor the ability to insert a message suggesting to reopen a connection. However, the recent addition of "hard-stop-after" will allow you to automatically kill your connections after some time, resulting in a similar effect. Willy