Mercurial > hg > nginx
diff src/http/ngx_http_request.h @ 3441:b0fbe6ab9ebe stable-0.7
merge r3309, r3314, r3315, r3380:
gzip headers related fixes:
*) remove "Content-Encoding: gzip" in 304 response
sent by ngx_http_gzip_static_module
*) refactor gzip_vary handling
*) test r->header_only last, since it's not actually
frequent here: 304 and HEAD responses are not set it before the filter
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 15:54:02 +0000 |
parents | ef8cfb09a50b |
children | 5d9ff79eab6f |
line wrap: on
line diff
--- a/src/http/ngx_http_request.h Mon Feb 01 15:49:36 2010 +0000 +++ b/src/http/ngx_http_request.h Mon Feb 01 15:54:02 2010 +0000 @@ -451,7 +451,12 @@ #if (NGX_HTTP_CACHE) unsigned cached:1; #endif - unsigned gzip:2; + +#if (NGX_HTTP_GZIP) + unsigned gzip_tested:1; + unsigned gzip_ok:1; + unsigned gzip_vary:1; +#endif unsigned proxy:1; unsigned bypass_cache:1;