Mercurial > hg > nginx
comparison src/http/modules/ngx_http_limit_req_module.c @ 5411:5483d9e77b32
Limit req: fixed "nodelay" parsing.
Previously arguments starting with "nodelay" were considered valid,
e.g. "limit_req ... nodelayFOO;".
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 02 Oct 2013 15:07:17 +0400 |
parents | fc595eeb6c54 |
children | 5024d29354f1 |
comparison
equal
deleted
inserted
replaced
5410:16b68c724438 | 5411:5483d9e77b32 |
---|---|
910 } | 910 } |
911 | 911 |
912 continue; | 912 continue; |
913 } | 913 } |
914 | 914 |
915 if (ngx_strncmp(value[i].data, "nodelay", 7) == 0) { | 915 if (ngx_strcmp(value[i].data, "nodelay") == 0) { |
916 nodelay = 1; | 916 nodelay = 1; |
917 continue; | 917 continue; |
918 } | 918 } |
919 | 919 |
920 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, | 920 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, |