On Thu, Mar 23, 2017 at 09:43:44PM +0100, Cyril Bonté wrote: > Le 23/03/2017 à 21:40, Willy Tarreau a écrit : > > On Thu, Mar 23, 2017 at 09:35:28PM +0100, Cyril Bonté wrote: > > I didn't think about the per-proxy approach but I think that emitting a > > log only for those having got killed connections would be nice given that > > most of the time there will be very few such proxies. But I think it can > > make your patch more complicated, especially if we target simplicity for > > the backport. So maybe in fact having only the global counter first is a > > good first step and if we can later improve on this we'll see if it's > > worth backporting. > > No, remember the useless loop on proxies in the patch I submitted ;-) I just > have to leave it as is, send a log line for each proxy where fe_conn > 0 and > move the stream_shutdown calls outside of this loop.
Ah yes good point! Willy