commit | babd05a6c6d3a9f835b0f978c7f159d06338eb58 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Aug 09 12:14:03 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Sep 02 21:53:11 2012 +0200 |
tree | 7e6ec08cce6829e3ee054068e31b7b0acd53c571 | |
parent | 49b046dddf91b1056b818b4a5e80f25cc8a6df65 [diff] |
MEDIUM: fd: add fd_poll_{recv,send} for use when explicit polling is required The old EV_FD_SET() macro was confusing, as it would enable receipt but there was no way to indicate that EAGAIN was received, hence the recently added FD_WAIT_* flags. They're not enough as we're still facing a conflict between EV_FD_* and FD_WAIT_*. So let's offer I/O functions what they need to explicitly request polling.