Re: [PATCH] BUG/MINOR: listener: close before free in `listener_accept`

2020-10-20 Thread Willy Tarreau
On Sun, Oct 18, 2020 at 06:37:43PM +0200, William Dauchy wrote: > safer to close handle before the object is put back in the global pool. > > this was introduced by commit 9378bbe0bef4005155d ("MEDIUM: listener: > use protocol->accept_conn() to accept a connection") Oops, good catch, thank you

[PATCH] BUG/MINOR: listener: close before free in `listener_accept`

2020-10-18 Thread William Dauchy
safer to close handle before the object is put back in the global pool. this was introduced by commit 9378bbe0bef4005155d ("MEDIUM: listener: use protocol->accept_conn() to accept a connection") this should fix github issue #902 no backport needed. Signed-off-by: William Dauchy ---