]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fd: add two new calls fd_cond_{recv,send}()
authorWilly Tarreau <w@1wt.eu>
Thu, 5 Sep 2019 14:39:21 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 6 Sep 2019 15:50:36 +0000 (17:50 +0200)
commit8f2825f3ab81cc730b080b9000fe1364187b7b59
treedeaab671225e83e74d574ef22c2ecfdea1995f3c
parent4ac9d064d2b897b8cd420e0d623581ca72968e43
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.
include/proto/fd.h