[nginx] Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

Valentin Bartenev vbart at nginx.com
Mon Aug 31 20:29:07 UTC 2015


details:   http://hg.nginx.org/nginx/rev/281863981d0b
branches:  
changeset: 6239:281863981d0b
user:      Valentin Bartenev <vbart at nginx.com>
date:      Mon Aug 31 23:26:33 2015 +0300
description:
Decreased the NGX_HTTP_MAX_SUBREQUESTS limit.

There is no much sense in such a big value since its semantics
has been changed in 06e850859a26 to limit recursive subrequests.

diffstat:

 src/http/ngx_http_request.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8c6e71722aff -r 281863981d0b src/http/ngx_http_request.h
--- a/src/http/ngx_http_request.h	Mon Aug 31 23:25:16 2015 +0300
+++ b/src/http/ngx_http_request.h	Mon Aug 31 23:26:33 2015 +0300
@@ -10,7 +10,7 @@
 
 
 #define NGX_HTTP_MAX_URI_CHANGES           10
-#define NGX_HTTP_MAX_SUBREQUESTS           200
+#define NGX_HTTP_MAX_SUBREQUESTS           50
 
 /* must be 2^n */
 #define NGX_HTTP_LC_HEADER_LEN             32



More information about the nginx-devel mailing list