Mercurial > hg > nginx
comparison src/http/modules/ngx_http_limit_req_module.c @ 7398:bca4dad0d3cb
Limit req: fixed error message wording.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 21 Nov 2018 18:56:44 +0300 |
parents | bd6563e81cea |
children | d6ca744c727e |
comparison
equal
deleted
inserted
replaced
7397:860d3907da1c | 7398:bca4dad0d3cb |
---|---|
906 if (ngx_strncmp(value[i].data, "burst=", 6) == 0) { | 906 if (ngx_strncmp(value[i].data, "burst=", 6) == 0) { |
907 | 907 |
908 burst = ngx_atoi(value[i].data + 6, value[i].len - 6); | 908 burst = ngx_atoi(value[i].data + 6, value[i].len - 6); |
909 if (burst <= 0) { | 909 if (burst <= 0) { |
910 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 910 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |
911 "invalid burst rate \"%V\"", &value[i]); | 911 "invalid burst value \"%V\"", &value[i]); |
912 return NGX_CONF_ERROR; | 912 return NGX_CONF_ERROR; |
913 } | 913 } |
914 | 914 |
915 continue; | 915 continue; |
916 } | 916 } |