Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_index_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 | 2a92804f4109 |
children | 75a8d34459c5 |
comparison
equal
deleted
inserted
replaced
2062:90312b616162 | 2063:67a29af877ed |
---|---|
206 *e.pos++ = '\0'; | 206 *e.pos++ = '\0'; |
207 } | 207 } |
208 | 208 |
209 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "open index \"%V\"", &path); | 209 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "open index \"%V\"", &path); |
210 | 210 |
211 of.uniq = 0; | |
211 of.test_dir = 0; | 212 of.test_dir = 0; |
212 of.valid = clcf->open_file_cache_valid; | 213 of.valid = clcf->open_file_cache_valid; |
213 of.min_uses = clcf->open_file_cache_min_uses; | 214 of.min_uses = clcf->open_file_cache_min_uses; |
214 of.errors = clcf->open_file_cache_errors; | 215 of.errors = clcf->open_file_cache_errors; |
215 of.events = clcf->open_file_cache_events; | 216 of.events = clcf->open_file_cache_events; |
289 dir.data = path; | 290 dir.data = path; |
290 | 291 |
291 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 292 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
292 "http index check dir: \"%V\"", &dir); | 293 "http index check dir: \"%V\"", &dir); |
293 | 294 |
295 of.uniq = 0; | |
294 of.test_dir = 1; | 296 of.test_dir = 1; |
295 of.valid = clcf->open_file_cache_valid; | 297 of.valid = clcf->open_file_cache_valid; |
296 of.min_uses = 0; | 298 of.min_uses = 0; |
297 of.errors = clcf->open_file_cache_errors; | 299 of.errors = clcf->open_file_cache_errors; |
298 | 300 |