commit | de236d3a2c5320d32f861a0efdb6fb5e322be7b9 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Aug 05 08:51:29 2011 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Aug 05 08:51:29 2011 +0000 |
tree | 1ebd51350f31d23322045ef8bce229265d3ad78c | |
parent | 48d17bca947540c31c077051ab6d7073fd25c986 [diff] |
fix gzip quantity: "q=0." and "q=1." are valid values according to RFC
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0069245..bbb9311 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -2309,7 +2309,7 @@ return 0; } - if (q > 100 || n == 0 || n > 3) { + if (q > 100 || n > 3) { return 0; }