diff src/http/ngx_http_request.h @ 3313:118169a8ec92

refactor gzip_vary handling
author Igor Sysoev <igor@sysoev.ru>
date Thu, 12 Nov 2009 13:41:56 +0000
parents d430c6ab1c99
children 63fafb988446
line wrap: on
line diff
--- a/src/http/ngx_http_request.h	Wed Nov 11 21:12:41 2009 +0000
+++ b/src/http/ngx_http_request.h	Thu Nov 12 13:41:56 2009 +0000
@@ -457,7 +457,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;