mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 00:27:08 +02:00
BUG/MINOR: stats: Clear a bit more counters with in cli_parse_clear_counters().
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]
This commit is contained in:
parent
dea7c5c03d
commit
00bc3cb59f
@ -3579,6 +3579,9 @@ static int cli_parse_clear_counters(char **args, struct appctx *appctx, void *pr
|
|||||||
|
|
||||||
global.cps_max = 0;
|
global.cps_max = 0;
|
||||||
global.sps_max = 0;
|
global.sps_max = 0;
|
||||||
|
global.ssl_max = 0;
|
||||||
|
global.ssl_fe_keys_max = 0;
|
||||||
|
global.ssl_be_keys_max = 0;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user