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+
142010-01-10 VERSION 1.0
25 * Initial module release.
36
Original file line number Diff line number Diff line change @@ -109,8 +109,8 @@ CRLF "</center>" CRLF
109109"</html>" CRLF
110110;
111111
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 ;
114114
115115/* this is ugly workaround, find better solution... */
116116typedef struct {
@@ -127,6 +127,11 @@ typedef struct {
127127 ngx_array_t * fastcgi_lengths ;
128128 ngx_array_t * fastcgi_values ;
129129
130+ #if defined(nginx_version ) && (nginx_version >= 8040 )
131+ ngx_hash_t headers_hash ;
132+ ngx_uint_t header_params ;
133+ #endif
134+
130135 ngx_http_complex_value_t cache_key ;
131136
132137#if (NGX_PCRE )
@@ -154,7 +159,9 @@ typedef struct {
154159 ngx_hash_t headers_set_hash ;
155160
156161 ngx_array_t * headers_source ;
162+ #if defined(nginx_version ) && (nginx_version < 8040 )
157163 ngx_array_t * headers_names ;
164+ #endif
158165
159166 ngx_array_t * proxy_lengths ;
160167 ngx_array_t * proxy_values ;
You can’t perform that action at this time.
0 commit comments