]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream_interface: Don't use si_cs_send() as a task handler.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 2 Aug 2018 16:06:28 +0000 (18:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Aug 2018 15:29:54 +0000 (17:29 +0200)
commit91894cbf4c20cd9fdbdd7548596d10b1b0119b91
tree967e84ed0a2c8128238bb2f890dcd35936217420
parente1c6dbcd70e7c36dc78301d098c7cd2809fc4cc6
MINOR: stream_interface: Don't use si_cs_send() as a task handler.

Instead of using si_cs_send() as a task handler, define a new function,
si_cs_io_cb(), and give si_cs_send() its original prototype. Right now
si_cs_io_cb() just handles send, but later it'll handle recv() too.
include/proto/stream_interface.h
src/stream_interface.c