Hi, > De: "Robson Roberto Souza Peixoto" <robsonpeix...@gmail.com> > À: "Willy Tarreau" <w...@1wt.eu> > Cc: haproxy@formilux.org > Envoyé: Vendredi 24 Mars 2017 14:14:21 > Objet: Re: Force connection close after a haproxy reload > > Sorry guys, I sent before finish the text. > > Willy, > > The current NGiNX version add a very useful directive to solve this > problem. > worker_shutdown_timeout: > https://medium.com/statuscode/nginxs-new-worker-shutdown-timeout-directive-d60f9c1142f8#.nhxv0b3ga > > from blog: > > For example, worker_shutdown_timeout 10s will mean NGINX gives > > worker processes 10 seconds to gracefully terminate before it will > > actively close connections. > > What do think about add this feature on HaProxy ?
I didn't know this directive in nginx but that's a similar feature I proposed sooner in the thread. And... it's available in the dev branch since today ;-) http://git.haproxy.org/?p=haproxy.git;a=commit;h=203ec5a2b566bfd731538ad4ea21a849b79412ad Cyril Bonté