]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: counters: make it easier to extend the amount of tracked counters
authorWilly Tarreau <w@1wt.eu>
Tue, 28 May 2013 15:40:25 +0000 (17:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 28 May 2013 15:43:40 +0000 (17:43 +0200)
commitd5ca9abb0d0b45097a79b8cdeb2aea466106b9e3
treeb922b5a5d2bbe4aacab4c25b36dd7e3c6fdf0276
parent3fe9f1e131edaeba1ca4be124896d66a573ce61e
MINOR: counters: make it easier to extend the amount of tracked counters

By properly affecting the flags and values, it becomes easier to add
more tracked counters, for example for experimentation. It also slightly
reduces the code and the number of tests. No counters were added with
this patch.
include/proto/proto_tcp.h
include/proto/session.h
include/types/proto_tcp.h
include/types/session.h
src/cfgparse.c
src/peers.c
src/proto_tcp.c
src/session.c