]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sock_raw: introduce a read0 callback that is different from shutr
authorWilly Tarreau <wtarreau@exceliance.fr>
Mon, 6 Aug 2012 15:00:18 +0000 (17:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Sep 2012 19:53:10 +0000 (21:53 +0200)
commit3d8903fae0fcd52357af312fa6b06848616693f0
treef69c7c5cfacc51c34eddd398d9ff0a13186ceb62
parent8b117082bc0bff14db0e23a732e03f4b37e32087
MEDIUM: sock_raw: introduce a read0 callback that is different from shutr

This one is supposed to be called by the lower layer upon receiving a shutr
notification, which is different from the call performed by the upper layer.
Specifically, this function will ultimately not call EV_FD_* but will just
manipulate event flags instead. The function also does not call shutw anymore
and instead performs the necessary work.

Splitting it into si-specific part and data-specific parts will not be easy.
src/sock_raw.c