commit | 382474348c681cc6277603d1a40ac438690a987c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 26 10:24:14 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 26 10:59:48 2022 +0200 |
tree | 46aa24cfc7ab4ffc3e4b259fa6090bc0e3a3b608 | |
parent | a80e4a3546ccee7f8114a88a0a17e09e544d31e2 [diff] |
CLEANUP: tree-wide: use fd_set_nonblock() and fd_set_cloexec() This gets rid of most open-coded fcntl() calls, some of which were passed through DISGUISE() to avoid a useless test. The FD_CLOEXEC was most often set without preserving previous flags, which could become a problem once new flags are created. Now this will not happen anymore.