Mercurial > hg > nginx-vendor-current
diff src/core/ngx_open_file_cache.c @ 638:f5a8cf31a203 NGINX_1_1_3
nginx 1.1.3
*) Feature: the module ngx_http_mp4_module.
*) Bugfix: in Linux AIO combined with open_file_cache.
*) Bugfix: open_file_cache did not update file info on retest if file
was not atomically changed.
*) Bugfix: nginx could not be built on MacOSX 10.7.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 14 Sep 2011 00:00:00 +0400 |
parents | 8dc007eddbcf |
children | d0f7a625f27c |
line wrap: on
line diff
--- a/src/core/ngx_open_file_cache.c +++ b/src/core/ngx_open_file_cache.c @@ -284,13 +284,13 @@ ngx_open_cached_file(ngx_open_file_cache if (of->uniq == file->uniq) { - file->count++; - if (file->event) { file->use_event = 1; } - goto renew; + of->is_directio = file->is_directio; + + goto update; } /* file was changed */ @@ -394,8 +394,6 @@ update: } } -renew: - file->created = now; found: