commit | c0e23aef051dd3916ef3eedf934837942cb7db71 | [log] [tgz] |
---|---|---|
author | William Dauchy <w.dauchy@criteo.com> | Wed Feb 12 10:09:14 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Feb 12 15:24:21 2020 +0100 |
tree | a987aaffcb35b78a61a56019627c187c3447526c | |
parent | 0948a781fce19a032b71e65239d6bc5d10c97522 [diff] |
BUG/MINOR: tcp: avoid closing fd when socket failed in tcp_bind_listener 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 <w.dauchy@criteo.com>