]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: report the total number of compressed responses per front/back
authorWilly Tarreau <w@1wt.eu>
Sat, 24 Nov 2012 13:54:13 +0000 (14:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 24 Nov 2012 13:54:13 +0000 (14:54 +0100)
commit5e16cbc3bd0eb4a38a59d71a88ce9065338db65a
tree573dde1ae4d11c22f65d79d9c7322370634ace41
parentf149d8f21e65333b4639215b9fb9556b596a80cf
MINOR: stats: report the total number of compressed responses per front/back

Depending on the content-types and accept-encoding fields, some responses
might or might not be compressed. Let's have a counter of the number of
compressed responses and report it in the stats to help improve compression
usage.

Some cosmetic issues were fixed in the CSV output too (missing commas at the
end).
include/types/counters.h
src/dumpstats.c
src/proto_http.c
src/session.c