]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stream-int: retro-document si_cs_io_cb()
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Nov 2018 06:47:52 +0000 (07:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Nov 2018 06:54:26 +0000 (07:54 +0100)
commit8ccd2081f5ff6d165782fd2c45ea45ae75d273e9
tree0768295024c853079fdb29d881cd2b1d7786b1d1
parent7216032e6f5620f2abb15cb2695b5e78e868607d
CLEANUP: stream-int: retro-document si_cs_io_cb()

It took me 17 minutes this morning to figure where si->wait_event was
set (it's in si_reset() which should now probably be renamed since it
doesn't just perform a reset anymore but also an allocation) and what
its task was assigned to (si_cs_io_cb() even for applets and empty SI).

This is too confusing and not intuitive enough, let's at least add a
few comments for now to help figure how this stuff works next time.
src/stream_interface.c