Mercurial > hg > nginx
diff src/core/ngx_open_file_cache.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 | b52cb9bf2064 |
children | 23930ccd2642 |
line wrap: on
line diff
--- a/src/core/ngx_open_file_cache.c +++ b/src/core/ngx_open_file_cache.c @@ -189,7 +189,9 @@ ngx_open_cached_file(ngx_open_file_cache } if ((file->event && file->use_event) - || (file->event == NULL && now - file->created < of->valid)) + || (file->event == NULL + && (of->uniq == 0 || of->uniq == file->uniq) + && now - file->created < of->valid)) { if (file->err == 0) {