]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: applet: make the applets only use si_applet_{cant|want|stop}_{get|put}
authorWilly Tarreau <w@1wt.eu>
Tue, 21 Apr 2015 17:23:39 +0000 (19:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2015 15:56:17 +0000 (17:56 +0200)
commitfe127937a8d3d198d91a989895093b1faedce809
tree38890fb97b82e09af205de2c58360e363ef2ef6d
parenteb406dc73c83f7fd67bbe5c5effb4f8b250f6d1d
MEDIUM: applet: make the applets only use si_applet_{cant|want|stop}_{get|put}

The applets don't fiddle with SI_FL_WAIT_ROOM anymore, instead they indicate
what they want, possibly that they failed (eg: WAIT_ROOM), and it's done() /
update() which finally updates the WAIT_* flags according to the channels'
and stream interface's states. This solves the issue of the pauses during a
"show sess" without creating busy loops.
src/applet.c
src/dumpstats.c
src/peers.c
src/stream.c
src/stream_interface.c