]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: applet: centralize the call to si_applet_done() in the I/O handler
authorWilly Tarreau <w@1wt.eu>
Sun, 19 Apr 2015 23:31:23 +0000 (01:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Apr 2015 15:56:17 +0000 (17:56 +0200)
commitd4da196546a78a11953aa6b48b3bb7fece7a0983
tree10b6f879a9c867c4998ef78b352493d47046a1c9
parentb9c89111ab6aed67d0b26e2a65b6e6a680ec41ef
MEDIUM: applet: centralize the call to si_applet_done() in the I/O handler

It's much easier to centralize this call into the I/O handler than to
do it everywhere with the risk to miss it. Applets are not allowed to
unregister themselves anyway so their SI is still present and it is
possible to update all the context.
src/applet.c
src/dumpstats.c
src/hlua.c
src/peers.c