# HG changeset patch # User Maxim Dounin # Date 1350570460 0 # Node ID 3abac956f6c871c38717026e1d879df4fe05b584 # Parent 4b4f4cea6dfb4e4008bf47e774b36220647d0136 Gunzip: fixed r->gzip_ok check. diff --git a/src/http/modules/ngx_http_gunzip_filter_module.c b/src/http/modules/ngx_http_gunzip_filter_module.c --- 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_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); }