]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: stkctr: move all the stick counters processing to stick-tables.c
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Nov 2016 15:10:05 +0000 (16:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Nov 2016 15:10:05 +0000 (16:10 +0100)
commit7d56221d5797d3c73448d35eeafa801590eacabf
tree303e40c1a1630f0742c079c62f1f106119098027
parent397131093f03c8cebc433ffba6beca3ee8641773
REORG: stkctr: move all the stick counters processing to stick-tables.c

Historically we used to have the stick counters processing put into
session.c which became stream.c. But a big part of it is now in
stick-table.c (eg: converters) but despite this we still have all
the sample fetch functions in stream.c

These parts do not depend on the stream anymore, so let's move the
remaining chunks to stick-table.c and have cleaner files.

What remains in stream.c is everything needed to attach/detach
trackers to the stream and to update the counters while the stream
is being processed.
include/proto/stick_table.h
include/proto/stream.h
src/stick_table.c
src/stream.c