]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] task: keep a task count and clean up task creators
authorWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 17:13:21 +0000 (18:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 21 Mar 2009 17:13:21 +0000 (18:13 +0100)
commita461318f97504c52f24bcd23a38094cd823dfd74
tree0254364b19824e9efafdb5f1e64004fdff2b95b8
parent135a113e369ad0afc58f326f4811858f8bf770e5
[MINOR] task: keep a task count and clean up task creators

It's sometimes useful at least for statistics to keep a task count.
It's easy to do by forcing the rare task creators to always use the
same functions to create/destroy a task.
include/proto/task.h
src/appsession.c
src/checks.c
src/client.c
src/proto_uxst.c
src/task.c