From edf1c8c1b8a83a6592714516499a18adc830eeae Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 7 Jul 2008 09:26:13 +0000 Subject: always test root existence for access_log with variables --- src/http/modules/ngx_http_gzip_static_module.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/modules/ngx_http_gzip_static_module.c') diff --git a/src/http/modules/ngx_http_gzip_static_module.c b/src/http/modules/ngx_http_gzip_static_module.c index 41ac0d3ee..51fe0d56d 100644 --- 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_request_t *r) #endif + r->root_tested = 1; + rc = ngx_http_discard_request_body(r); if (rc != NGX_OK) { -- cgit