From 27b7eb17d081340515cd7ee3771d68af1c6d8267 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 18 Oct 2012 14:27:40 +0000 Subject: [PATCH] Gunzip: fixed r->gzip_ok check. --- src/http/modules/ngx_http_gunzip_filter_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_gunzip_filter_module.c b/src/http/modules/ngx_http_gunzip_filter_module.c index f8434cb83..b73fe4859 100644 --- a/src/http/modules/ngx_http_gunzip_filter_module.c +++ b/src/http/modules/ngx_http_gunzip_filter_module.c @@ -145,7 +145,7 @@ ngx_http_gunzip_header_filter(ngx_http_request_t *r) return ngx_http_next_header_filter(r); } - } else if (!r->gzip_ok) { + } else if (r->gzip_ok) { return ngx_http_next_header_filter(r); }