Fixed limit_req burst/nodelay inheritance (ticket #76).

The problem was introduced in r4381 (1.1.12).
This commit is contained in:
Maxim Dounin 2012-01-11 11:09:05 +00:00
parent b8ef9d9255
commit f2ef9db230

View File

@ -570,6 +570,8 @@ ngx_http_limit_req_merge_conf(ngx_conf_t *cf, void *parent, void *child)
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,