comparison ngx_http_gunzip_filter_module.c @ 12:5b45458fb4ac

Gunzip: fix version condition 0.7.65+ to affect 0.7.* branch only.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 08 Mar 2010 05:46:57 +0300
parents b12d2ee20755
children 50ec0697da32
comparison
equal deleted inserted replaced
11:b12d2ee20755 12:5b45458fb4ac
136 (u_char *) "gzip", 4) != 0) 136 (u_char *) "gzip", 4) != 0)
137 { 137 {
138 return ngx_http_next_header_filter(r); 138 return ngx_http_next_header_filter(r);
139 } 139 }
140 140
141 #if (nginx_version >= 8025 || nginx_version >= 7065) 141 #if (nginx_version >= 8025 || (nginx_version >= 7065 && nginx_version < 8000))
142 142
143 r->gzip_vary = 1; 143 r->gzip_vary = 1;
144 144
145 if (!r->gzip_tested) { 145 if (!r->gzip_tested) {
146 if (ngx_http_gzip_ok(r) == NGX_OK) { 146 if (ngx_http_gzip_ok(r) == NGX_OK) {