commit | 7e98e28eb06f907fc3a7a5599b74d5d85b98d9ca | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Nov 04 13:52:22 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Nov 04 14:22:42 2020 +0100 |
tree | 5116a15ee5c8f164cfbf76713f3e5d2503c5b668 | |
parent | 22ccd5ebaf10318f73ef9b9f999feebce6bc1f7f [diff] |
MINOR: fd: add fd_want_recv_safe() This does the same as fd_want_recv() except that it does check for fd_updt[] to be allocated, as this may be called during early listener initialization. Previously we used to check fd_updt[] before calling fd_want_recv() but this is not correct since it does not update the FD flags. This method will be safer.