]> git.kaiwu.me - haproxy.git/commit
BUG/MAJOR: stats: correctly check for a possible divide error when showing compressio...
authorWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 15:44:48 +0000 (16:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 15:44:48 +0000 (16:44 +0100)
commit78bbeb4a994c6a567b567954d608a6a05f942721
treeaaf0e404127342417f782293ff70963e92be212d
parent0a80a8dbb27532310dab1bdcf1bd92289140aa33
BUG/MAJOR: stats: correctly check for a possible divide error when showing compression ratios

Commit 5730c68b changed to display compression ratios based on 2xx
responses, but we should then check that there are such responses
instead of checking for requests. The risk is a divide error if there
are some requests but no 2xx yet (eg: redirect).
src/dumpstats.c