Mercurial > hg > nginx
diff src/http/modules/ngx_http_limit_req_module.c @ 4399:d2b3130fd8d9
Fixed limit_req burst/nodelay inheritance (ticket #76).
The problem was introduced in r4381 (1.1.12).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 11 Jan 2012 11:09:05 +0000 |
parents | 7697412a0921 |
children | d620f497c50f |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_limit_req_module.c Tue Jan 10 15:09:45 2012 +0000 +++ b/src/http/modules/ngx_http_limit_req_module.c Wed Jan 11 11:09:05 2012 +0000 @@ -570,6 +570,8 @@ if (conf->shm_zone == NULL) { conf->shm_zone = prev->shm_zone; + conf->burst = prev->burst; + conf->nodelay = prev->nodelay; } ngx_conf_merge_uint_value(conf->limit_log_level, prev->limit_log_level,