aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_open_file_cache.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-25 10:46:40 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-25 10:46:40 +0000
commit421a3b800f00dceac9657c1fd3d5de20155d2b8b (patch)
treec916e462b3f531a1dbe94bb4c5c525c28aa8593d /src/core/ngx_open_file_cache.h
parentd02661a96bfdd036763ec24cac95b328ec234727 (diff)
downloadnginx-421a3b800f00dceac9657c1fd3d5de20155d2b8b.tar.gz
nginx-421a3b800f00dceac9657c1fd3d5de20155d2b8b.zip
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()
Diffstat (limited to 'src/core/ngx_open_file_cache.h')
-rw-r--r--src/core/ngx_open_file_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_open_file_cache.h b/src/core/ngx_open_file_cache.h
index 8ef4aeac8..dd294e77a 100644
--- a/src/core/ngx_open_file_cache.h
+++ b/src/core/ngx_open_file_cache.h
@@ -54,6 +54,7 @@ struct ngx_cached_open_file_s {
unsigned count:24;
unsigned close:1;
+ unsigned use_event:1;
unsigned is_dir:1;
unsigned is_file:1;