projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dea7c5c
)
BUG/MINOR: stats: Clear a bit more counters with in cli_parse_clear_counters().
author
Olivier Houchard
<ohouchard@haproxy.com>
Tue, 17 Oct 2017 17:23:25 +0000
(19:23 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Wed, 18 Oct 2017 16:36:08 +0000
(18:36 +0200)
Clear MaxSslRate, SslFrontendMaxKeyRate and SslBackendMaxKeyRate when
clear counters is used, it was probably forgotten when those counters were
added.
[wt: this can probably be backported as far as 1.5 in dumpstats.c]
src/stats.c
patch
|
blob
|
history
diff --git
a/src/stats.c
b/src/stats.c
index
6cbda22
..
25d6e65
100644
(file)
--- a/
src/stats.c
+++ b/
src/stats.c
@@
-3579,6
+3579,9
@@
static int cli_parse_clear_counters(char **args, struct appctx *appctx, void *pr
global.cps_max = 0;
global.sps_max = 0;
+ global.ssl_max = 0;
+ global.ssl_fe_keys_max = 0;
+ global.ssl_be_keys_max = 0;
return 1;
}