diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 00692454c..bbb9311cf 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2309,7 +2309,7 @@ ngx_http_gzip_quantity(u_char *p, u_char *last) return 0; } - if (q > 100 || n == 0 || n > 3) { + if (q > 100 || n > 3) { return 0; }