diff src/http/modules/ngx_http_gzip_static_module.c @ 2087:c8039b26a949

always test root existence for access_log with variables
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Jul 2008 09:26:13 +0000
parents 75a8d34459c5
children 25add486e7aa
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_static_module.c
+++ b/src/http/modules/ngx_http_gzip_static_module.c
@@ -175,6 +175,8 @@ ngx_http_gzip_static_handler(ngx_http_re
 
 #endif
 
+    r->root_tested = 1;
+
     rc = ngx_http_discard_request_body(r);
 
     if (rc != NGX_OK) {