aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_regex.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-01-30 09:26:08 +0000
committerValentin Bartenev <vbart@nginx.com>2012-01-30 09:26:08 +0000
commit5f5205ba87ff44fabe3931061a8d3014fdac4475 (patch)
treef684b234557a10215b7314a2fc665fbd1acfaa0e /src/core/ngx_regex.c
parentd4dbf6ad59b2e59b9286763eec3dce273180a906 (diff)
downloadnginx-5f5205ba87ff44fabe3931061a8d3014fdac4475.tar.gz
nginx-5f5205ba87ff44fabe3931061a8d3014fdac4475.zip
Limit req: improved error handling when parsing "zone" parameter of
"limit_req_zone" directive; minimum size of zone is increased. Previously an unsigned variable was used to keep the return value of ngx_parse_size() function, which led to an incorrect zone size if NGX_ERROR was returned. The new code has been taken from the "limit_conn_zone" directive.
Diffstat (limited to 'src/core/ngx_regex.c')
0 files changed, 0 insertions, 0 deletions