]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: counters: provide a generic function to retrieve a stkctr for sc* and src.
authorWilly Tarreau <w@1wt.eu>
Mon, 22 Jul 2013 20:40:11 +0000 (22:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:13 +0000 (21:17 +0200)
commita65536ca4ebac0b016f9dcfd905c0431fca597f5
treeac9972c62540b0f0a41364025962acd0e71966c5
parent88821241d460fae569f4d423eebc21ca4dfb9e44
MINOR: counters: provide a generic function to retrieve a stkctr for sc* and src.

This function aims at simplifying the prefetching of the table and entry
when using any of the session counters fetches. The principle is that the
src_* variant produces a stkctr that is used instead of the one from the
session. That way we can call the same function from all session counter
fetch functions and always have a single function to support sc[0-9]_/src_.
src/session.c