File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2010-06-08
2
+ * Fix compatibility with nginx-0.8.40+.
3
+
1
4
2010-01-10 VERSION 1.0
2
5
* Initial module release.
3
6
Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ CRLF "</center>" CRLF
109
109
"</html>" CRLF
110
110
;
111
111
112
- ngx_module_t ngx_http_fastcgi_module ;
113
- ngx_module_t ngx_http_proxy_module ;
112
+ extern ngx_module_t ngx_http_fastcgi_module ;
113
+ extern ngx_module_t ngx_http_proxy_module ;
114
114
115
115
/* this is ugly workaround, find better solution... */
116
116
typedef struct {
@@ -127,6 +127,11 @@ typedef struct {
127
127
ngx_array_t * fastcgi_lengths ;
128
128
ngx_array_t * fastcgi_values ;
129
129
130
+ #if defined(nginx_version ) && (nginx_version >= 8040 )
131
+ ngx_hash_t headers_hash ;
132
+ ngx_uint_t header_params ;
133
+ #endif
134
+
130
135
ngx_http_complex_value_t cache_key ;
131
136
132
137
#if (NGX_PCRE )
@@ -154,7 +159,9 @@ typedef struct {
154
159
ngx_hash_t headers_set_hash ;
155
160
156
161
ngx_array_t * headers_source ;
162
+ #if defined(nginx_version ) && (nginx_version < 8040 )
157
163
ngx_array_t * headers_names ;
164
+ #endif
158
165
159
166
ngx_array_t * proxy_lengths ;
160
167
ngx_array_t * proxy_values ;
You can’t perform that action at this time.
0 commit comments