Mercurial > hg > nginx
comparison src/http/modules/ngx_http_gzip_static_module.c @ 2063:67a29af877ed
initialize of.uniq in ngx_open_cached_file()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Jun 2008 13:35:34 +0000 |
parents | 115e6f029fcc |
children | 75a8d34459c5 |
comparison
equal
deleted
inserted
replaced
2062:90312b616162 | 2063:67a29af877ed |
---|---|
117 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, | 117 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, |
118 "http filename: \"%s\"", path.data); | 118 "http filename: \"%s\"", path.data); |
119 | 119 |
120 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 120 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
121 | 121 |
122 of.uniq = 0; | |
122 of.test_dir = 0; | 123 of.test_dir = 0; |
123 of.valid = clcf->open_file_cache_valid; | 124 of.valid = clcf->open_file_cache_valid; |
124 of.min_uses = clcf->open_file_cache_min_uses; | 125 of.min_uses = clcf->open_file_cache_min_uses; |
125 of.errors = clcf->open_file_cache_errors; | 126 of.errors = clcf->open_file_cache_errors; |
126 of.events = clcf->open_file_cache_events; | 127 of.events = clcf->open_file_cache_events; |