mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06: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
@ -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…
Reference in New Issue
Block a user