Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 3978:6b608bf9f3ae
Accept-Encoding refactoring: remove ancient MSIE 4.x test for gzip
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 30 Jul 2011 06:20:06 +0000 |
parents | 1df827cf70c0 |
children | 1d9353fbc077 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2025,15 +2025,7 @@ ngx_http_gzip_ok(ngx_http_request_t *r) || r->headers_in.accept_encoding == NULL || ngx_strcasestrn(r->headers_in.accept_encoding->value.data, "gzip", 4 - 1) - == NULL - - /* - * if the URL (without the "http://" prefix) is longer than 253 bytes, - * then MSIE 4.x can not handle the compressed stream - it waits - * too long, hangs up or crashes - */ - - || (r->headers_in.msie4 && r->unparsed_uri.len > 200)) + == NULL) { return NGX_DECLINED; }