commit | 8ac72496113dca34f5a49c6ac9a2cc80f5612f69 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Nov 16 10:06:44 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Nov 16 10:06:44 2013 +0100 |
tree | 0506b1f6826722b4cd654688736a52347a7cee31 | |
parent | 38d5892634a2101285653e90fc59e2fb6484a9f0 [diff] |
BUG/MINOR: stats: don't count tarpitted connections twice When a connection is tarpitted, a denied req is counted once when the action is applied, and then a failed req is counted when the tarpit timeout expires. This is completely wrong as the tarpit is exactly equivalent to a deny since it's a disguised deny. So let's not increment the failed req anymore. This fix may be backported to 1.4 which has the same issue.