]> git.kaiwu.me - haproxy.git/commit
MINOR: session: make the number of stick counter entries more configurable
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jul 2013 17:15:30 +0000 (19:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 1 Aug 2013 19:17:14 +0000 (21:17 +0200)
commitb4c8493a9f0177689646670b035d095be6f38891
tree09aa349aca9bc2a39d758bd59e902a60ba9de0e9
parent563eef4e30a6df004d51e3a2d11ca15aebb3342d
MINOR: session: make the number of stick counter entries more configurable

In preparation of more flexibility in the stick counters, make their
number configurable. It still defaults to 3 which is the minimum
accepted value. Changing the value alone is not sufficient to get
more counters, some bitfields still need to be updated and the TCP
actions need to be updated as well, but this update tries to be
easier, which is nice for experimentation purposes.
include/common/defaults.h
include/proto/session.h
include/types/proto_tcp.h
include/types/session.h
src/cfgparse.c
src/proto_tcp.c
src/session.c