mirror of https://github.com/openresty/openresty
apply the max_subrequests patch to allow the NGX_HTTP_MAX_SUBREQUESTS macro to be overridden from the outside and adjusted the default value from 50 to 100 because 50 is a little too conservative.
parent
cc460be049
commit
3ba6ac3224
@ -0,0 +1,14 @@
|
||||
--- nginx-1.0.11/src/http/ngx_http_request.h 2011-08-29 18:39:23.000000000 +0800
|
||||
+++ nginx-1.0.11-patched/src/http/ngx_http_request.h 2012-02-20 15:50:43.540762756 +0800
|
||||
@@ -9,7 +9,10 @@
|
||||
|
||||
|
||||
#define NGX_HTTP_MAX_URI_CHANGES 10
|
||||
-#define NGX_HTTP_MAX_SUBREQUESTS 50
|
||||
+
|
||||
+#ifndef NGX_HTTP_MAX_SUBREQUESTS
|
||||
+#define NGX_HTTP_MAX_SUBREQUESTS 100
|
||||
+#endif
|
||||
|
||||
/* must be 2^n */
|
||||
#define NGX_HTTP_LC_HEADER_LEN 32
|
@ -0,0 +1,14 @@
|
||||
--- nginx-1.0.12/src/http/ngx_http_request.h 2011-08-29 18:39:23.000000000 +0800
|
||||
+++ nginx-1.0.12-patched/src/http/ngx_http_request.h 2012-02-20 15:50:43.540762756 +0800
|
||||
@@ -9,7 +9,10 @@
|
||||
|
||||
|
||||
#define NGX_HTTP_MAX_URI_CHANGES 10
|
||||
-#define NGX_HTTP_MAX_SUBREQUESTS 50
|
||||
+
|
||||
+#ifndef NGX_HTTP_MAX_SUBREQUESTS
|
||||
+#define NGX_HTTP_MAX_SUBREQUESTS 100
|
||||
+#endif
|
||||
|
||||
/* must be 2^n */
|
||||
#define NGX_HTTP_LC_HEADER_LEN 32
|
Loading…
Reference in New Issue