| commit | 421a3b800f00dceac9657c1fd3d5de20155d2b8b | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Tue Dec 25 10:46:40 2007 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Tue Dec 25 10:46:40 2007 +0000 |
| tree | c916e462b3f531a1dbe94bb4c5c525c28aa8593d | |
| parent | d02661a96bfdd036763ec24cac95b328ec234727 [diff] [blame] |
several fixes: *) do not add event if file was used less than min_uses *) do not rely upon event to avoid race conditions *) ngx_open_file_lookup()
diff --git a/src/core/ngx_open_file_cache.h b/src/core/ngx_open_file_cache.h index 8ef4aea..dd294e7 100644 --- a/src/core/ngx_open_file_cache.h +++ b/src/core/ngx_open_file_cache.h
@@ -54,6 +54,7 @@ unsigned count:24; unsigned close:1; + unsigned use_event:1; unsigned is_dir:1; unsigned is_file:1;