commit | 71c659993e81f00004f70425ac26340003d2783b | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Thu Jan 14 15:26:24 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 05 15:05:01 2021 +0100 |
tree | d06c72466f359d435dcfbe07d154c236d169a15e | |
parent | 02bd15b8db6990fd518544aa1a182afa5eaf7a2d [diff] |
BUG/MINOR: sock: Unclosed fd in case of connection allocation failure If allocating a connection object failed right after a successful accept on a listener, the new file descriptor was not properly closed. This fixes GitHub issue #905. It can be backported to 2.3. (cherry picked from commit 25dd0ad1239627aa87d9ce25d268546037a97197) Signed-off-by: Willy Tarreau <w@1wt.eu>