|
1 | 1 | diff --git src/http/ngx_http_core_module.c src/http/ngx_http_core_module.c
|
2 |
| -index 6388140..a500aab 100644 |
| 2 | +index 6388140..b900467 100644 |
3 | 3 | --- src/http/ngx_http_core_module.c
|
4 | 4 | +++ src/http/ngx_http_core_module.c
|
5 |
| -@@ -985,7 +985,12 @@ ngx_http_core_find_config_phase(ngx_http_request_t *r, |
| 5 | +@@ -8,6 +8,9 @@ |
| 6 | + #include <ngx_config.h> |
| 7 | + #include <ngx_core.h> |
| 8 | + #include <ngx_http.h> |
| 9 | ++#if (NGX_HTTP_APISIX) |
| 10 | ++#include <ngx_http_apisix_module.h> |
| 11 | ++#endif |
| 12 | + |
| 13 | + |
| 14 | + typedef struct { |
| 15 | +@@ -985,7 +988,12 @@ ngx_http_core_find_config_phase(ngx_http_request_t *r, |
6 | 16 | "http cl:%O max:%O",
|
7 | 17 | r->headers_in.content_length_n, clcf->client_max_body_size);
|
8 | 18 |
|
@@ -81,10 +91,20 @@ index 71d7e9a..2844be9 100644
|
81 | 91 | {
|
82 | 92 | ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
83 | 93 | diff --git src/http/v2/ngx_http_v2.c src/http/v2/ngx_http_v2.c
|
84 |
| -index 43a4fde..d22eb4d 100644 |
| 94 | +index 43a4fde..43c78f9 100644 |
85 | 95 | --- src/http/v2/ngx_http_v2.c
|
86 | 96 | +++ src/http/v2/ngx_http_v2.c
|
87 |
| -@@ -4211,10 +4211,18 @@ ngx_http_v2_filter_request_body(ngx_http_request_t *r) |
| 97 | +@@ -9,6 +9,9 @@ |
| 98 | + #include <ngx_core.h> |
| 99 | + #include <ngx_http.h> |
| 100 | + #include <ngx_http_v2_module.h> |
| 101 | ++#if (NGX_HTTP_APISIX) |
| 102 | ++#include <ngx_http_apisix_module.h> |
| 103 | ++#endif |
| 104 | + |
| 105 | + |
| 106 | + typedef struct { |
| 107 | +@@ -4211,10 +4214,18 @@ ngx_http_v2_filter_request_body(ngx_http_request_t *r) |
88 | 108 | }
|
89 | 109 |
|
90 | 110 | } else {
|
|
0 commit comments