]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: halog: add support for counting per source address (-ic)
authorWilly Tarreau <w@1wt.eu>
Sat, 16 Feb 2013 22:49:04 +0000 (23:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 16 Feb 2013 22:49:04 +0000 (23:49 +0100)
commit7cf479cc09d4e4d142e8862e2a2792385f695439
tree24f1ef3ff3deaae77463b349178d825af5f74668
parent58ea039115f3faaf29529e0df97f4562436fdd09
MEDIUM: halog: add support for counting per source address (-ic)

This is the same as -uc except that instead of counting URLs, it
counts source addresses. The reported times are request times and
not response times.

The code becomes heavily ugly, the url struct is being abused to
store an address, and there are no more bit fields available. The
code needs a major revamp.
contrib/halog/halog.c