Re: [PATCH] BUG/MINOR: tcp: avoid closing fd when socket failed in tcp_bind_listener

2020-02-12 Thread Willy Tarreau
On Wed, Feb 12, 2020 at 10:09:14AM +0100, William Dauchy wrote: > we were trying to close file descriptor even when `socket` call was > failing. > this should fix github issue #499 > > this should be backported to all versions >= v1.8 Now merged, thanks! Willy

[PATCH] BUG/MINOR: tcp: avoid closing fd when socket failed in tcp_bind_listener

2020-02-12 Thread William Dauchy
we were trying to close file descriptor even when `socket` call was failing. this should fix github issue #499 this should be backported to all versions >= v1.8 Fixes: 153659f1ae69a1 ("MINOR: tcp: When binding socket, attempt to reuse one from the old proc.") Signed-off-by: William Dauchy --- s