commit | 5730c68b467945a83bcedded92f19b4dcda3d2bf | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 26 14:13:09 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 26 16:19:46 2012 +0100 |
tree | 685972b2ecf17ed5fecc7f65c9957033b57f3bfc | |
parent | d300261babe838ac3bdd2f5e2353980845fb3929 [diff] |
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.