commit | 8f2825f3ab81cc730b080b9000fe1364187b7b59 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 05 16:39:21 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 06 17:50:36 2019 +0200 |
tree | deaab671225e83e74d574ef22c2ecfdea1995f3c | |
parent | 4ac9d064d2b897b8cd420e0d623581ca72968e43 [diff] |
MINOR: fd: add two new calls fd_cond_{recv,send}() These two functions are used to enable recv/send but only if the FD is not marked as active yet. The purpose is to conditionally mark them as tentatively usable without interfering with the polling if polling was already enabled, when it's supposed to be likely true.