BUG/MINOR: cli: Fix a typo in the 'set rate-limit' usage

The correct keyword is 'ssl-sessions' (vs. 'ssl-session').
The typo was introduced in 45c742be05 ('REORG: cli: move the "set
rate-limit" functions to their own parser').

Signed-off-by: Aurlien Nephtali <aurelien.nephtali@corp.ovh.com>
This commit is contained in:
Aurlien Nephtali 2018-03-11 16:55:02 +01:00 committed by Willy Tarreau
parent bca08762d2
commit b53e20826e

View File

@ -1184,7 +1184,7 @@ static int cli_parse_set_ratelimit(char **args, struct appctx *appctx, void *pri
" - 'connections global' to set the per-process maximum connection rate\n" " - 'connections global' to set the per-process maximum connection rate\n"
" - 'sessions global' to set the per-process maximum session rate\n" " - 'sessions global' to set the per-process maximum session rate\n"
#ifdef USE_OPENSSL #ifdef USE_OPENSSL
" - 'ssl-session global' to set the per-process maximum SSL session rate\n" " - 'ssl-sessions global' to set the per-process maximum SSL session rate\n"
#endif #endif
" - 'http-compression global' to set the per-process maximum compression speed in kB/s\n"; " - 'http-compression global' to set the per-process maximum compression speed in kB/s\n";
appctx->st0 = CLI_ST_PRINT; appctx->st0 = CLI_ST_PRINT;