]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: stream-interface: don't commit polling changes in every callback
authorWilly Tarreau <wtarreau@exceliance.fr>
Fri, 24 Aug 2012 10:52:22 +0000 (12:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 3 Sep 2012 18:47:31 +0000 (20:47 +0200)
commitf16723e4cab16db39217a4428385419fbd38a9a2
tree943e3b9522e280ddd90d3a434996bcde851b8959
parenta1a74744a48408a9918b783ba9cf62fc5587fea0
MAJOR: stream-interface: don't commit polling changes in every callback

It's more efficient to centralize polling changes, which is already done
in the connection handler. So now all I/O callbacks just change flags and
rely on the connection handler for the commit. The special case of the
send loop is handled by the chk_snd() function which does an update at
the end.
src/stream_interface.c