[nginx] svn commit: r4400 - trunk/src/http/modules

mdounin at mdounin.ru mdounin at mdounin.ru
Wed Jan 11 11:09:05 UTC 2012


Author: mdounin
Date: 2012-01-11 11:09:05 +0000 (Wed, 11 Jan 2012)
New Revision: 4400

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

The problems was introduced in r4381 (1.1.12).


Modified:
   trunk/src/http/modules/ngx_http_limit_req_module.c

Modified: trunk/src/http/modules/ngx_http_limit_req_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_limit_req_module.c	2012-01-10 15:09:45 UTC (rev 4399)
+++ trunk/src/http/modules/ngx_http_limit_req_module.c	2012-01-11 11:09:05 UTC (rev 4400)
@@ -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,



More information about the nginx-devel mailing list