aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-28 08:40:40 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-28 08:40:40 +0000
commit877df63f345e48bc2cb61dde86a207748051b81a (patch)
treea27f94499f27c0d079a6c7bbd3a33318e01345db /src/http/modules/ngx_http_static_handler.c
parent764543e73426fd00741483ff830cf09bfb73752f (diff)
downloadnginx-877df63f345e48bc2cb61dde86a207748051b81a.tar.gz
nginx-877df63f345e48bc2cb61dde86a207748051b81a.zip
nginx-0.0.1-2003-11-28-11:40:40 import
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r--src/http/modules/ngx_http_static_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c
index 42dd14a21..651f6d741 100644
--- a/src/http/modules/ngx_http_static_handler.c
+++ b/src/http/modules/ngx_http_static_handler.c
@@ -97,7 +97,7 @@ ngx_log_debug(r->connection->log, "cache get: %x" _ cache);
if (cache
&& ((ngx_event_flags & NGX_HAVE_KQUEUE_EVENT)
- || ccf->open_files->check_time >= ngx_time() - cache->updated))
+ || ccf->open_files->update >= ngx_cached_time - cache->updated))
{
cache->refs++;
r->file.fd = cache->fd;