mirror of
https://github.com/nginx/nginx.git
synced 2026-06-28 04:41:54 +00:00
Limit req: fixed "nodelay" parsing.
Previously arguments starting with "nodelay" were considered valid, e.g. "limit_req ... nodelayFOO;".
This commit is contained in:
parent
31d023e53e
commit
5a63dcc5d7
1 changed files with 1 additions and 1 deletions
|
|
@ -912,7 +912,7 @@ ngx_http_limit_req(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ngx_strncmp(value[i].data, "nodelay", 7) == 0) {
|
||||
if (ngx_strcmp(value[i].data, "nodelay") == 0) {
|
||||
nodelay = 1;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue