]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stats: compute the ratio of compressed response based on 2xx responses
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 13:13:09 +0000 (14:13 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 15:19:46 +0000 (16:19 +0100)
commit5730c68b467945a83bcedded92f19b4dcda3d2bf
tree685972b2ecf17ed5fecc7f65c9957033b57f3bfc
parentd300261babe838ac3bdd2f5e2353980845fb3929
MINOR: stats: compute the ratio of compressed response based on 2xx responses

Since only responses with status 200 can be compressed, let's only count the
ratio of compressed responses on the basis of the 2xx responses and not all
of them. Note that responses 206 are still included in this count but it gives
a better figure, especially for places where authentication is used and 401 is
common.
src/dumpstats.c