]> git.kaiwu.me - nginx.git/commit
Bugfix: open_file_cache did not update file info on retest.
authorIgor Sysoev <igor@sysoev.ru>
Wed, 14 Sep 2011 14:12:35 +0000 (14:12 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 14 Sep 2011 14:12:35 +0000 (14:12 +0000)
commit7ffb73c6b78aa40eafd6589b68f2ce613b86cc00
tree25c64878c2167e4716a3b8a92b306598fcd933ff
parent2cc42b74c74ffce440beebd11ceb65cc48f45d75
Bugfix: open_file_cache did not update file info on retest.

If file inode was not changed, cached file information was not updated
on retest.  As a result stale information might be cached forever if file
attributes was changed and/or file was extended.

This fix also makes obsolete r4077 change of is_directio flag handling,
since this flag is updated together with other file information.
src/core/ngx_open_file_cache.c