aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_gzip_static_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-23 13:35:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-06-23 13:35:34 +0000
commit3e6f74da0556265b7ad3fbdb629f2898b1e1936f (patch)
treea885bb7c72140fe73c4b15207db61cdee8187493 /src/http/modules/ngx_http_gzip_static_module.c
parentce1e64f404db86230f8c55cac7d9a9b72d9858a0 (diff)
downloadnginx-3e6f74da0556265b7ad3fbdb629f2898b1e1936f.tar.gz
nginx-3e6f74da0556265b7ad3fbdb629f2898b1e1936f.zip
initialize of.uniq in ngx_open_cached_file()
Diffstat (limited to 'src/http/modules/ngx_http_gzip_static_module.c')
-rw-r--r--src/http/modules/ngx_http_gzip_static_module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_gzip_static_module.c b/src/http/modules/ngx_http_gzip_static_module.c
index e6d44ec7b..a63281a8b 100644
--- a/src/http/modules/ngx_http_gzip_static_module.c
+++ b/src/http/modules/ngx_http_gzip_static_module.c
@@ -119,6 +119,7 @@ ngx_http_gzip_static_handler(ngx_http_request_t *r)
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
+ of.uniq = 0;
of.test_dir = 0;
of.valid = clcf->open_file_cache_valid;
of.min_uses = clcf->open_file_cache_min_uses;