# HG changeset patch # User Maxim Dounin # Date 1380712037 -14400 # Node ID 5483d9e77b3287b00b1104a07688bda37bc7351e # Parent 16b68c7244382f32fe707d22ab947aba5ef5808e Limit req: fixed "nodelay" parsing. Previously arguments starting with "nodelay" were considered valid, e.g. "limit_req ... nodelayFOO;". diff --git a/src/http/modules/ngx_http_limit_req_module.c b/src/http/modules/ngx_http_limit_req_module.c --- a/src/http/modules/ngx_http_limit_req_module.c +++ b/src/http/modules/ngx_http_limit_req_module.c @@ -912,7 +912,7 @@ ngx_http_limit_req(ngx_conf_t *cf, ngx_c continue; } - if (ngx_strncmp(value[i].data, "nodelay", 7) == 0) { + if (ngx_strcmp(value[i].data, "nodelay") == 0) { nodelay = 1; continue; }