]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: applet: measure and report an appctx's call rate in "show sess"
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Apr 2019 06:41:29 +0000 (08:41 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Apr 2019 14:04:23 +0000 (16:04 +0200)
commit22d63a24d93211f431ae3ef504c7a85c243fb618
tree7c32dc729efb20590e93bb78585110d33fad6cfc
parent2e9c1d2960f2472e0a49fa55dd96610c253c583d
MINOR: applet: measure and report an appctx's call rate in "show sess"

Very similarly to previous commit doing the same for streams, we now
measure and report an appctx's call rate. This will help catch applets
which do not consume all their data and/or which do not properly report
that they're waiting for something else. Some of them like peers might
theorically be able to exhibit some occasional peeks when teaching a
full table to a nearby peer (e.g. the new replacement process), but
nothing close to what a bogus service can do so there is no risk of
confusion.
include/proto/applet.h
include/types/applet.h
src/applet.c
src/stream.c