changeset 9:5c999acd9436 0.2

Gunzip: compatibility with nginx 0.7.65.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 01 Feb 2010 21:42:58 +0300
parents f51185490d02
children e60753404354
files ngx_http_gunzip_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ngx_http_gunzip_filter_module.c
+++ b/ngx_http_gunzip_filter_module.c
@@ -138,7 +138,7 @@ ngx_http_gunzip_header_filter(ngx_http_r
         return ngx_http_next_header_filter(r);
     }
 
-#if (nginx_version >= 8025)
+#if (nginx_version >= 8025 || nginx_version >= 7065)
 
     r->gzip_vary = 1;