diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-11-25 16:17:31 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-11-25 16:17:31 +0000 |
commit | f69060481edeaca075669b50e34ca8ec821c2401 (patch) | |
tree | 6fa6907cc2fdfe0ac6bcdf7f63e76a7f8b41f33f /src/http/ngx_http_cache.c | |
parent | 865a7de474a13c5f1202f97fac31565f33a5e1a1 (diff) | |
download | nginx-release-0.1.9.tar.gz nginx-release-0.1.9.zip |
nginx-0.1.9-RELEASE importrelease-0.1.9
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; the bug had appeared in
0.1.8.
Diffstat (limited to 'src/http/ngx_http_cache.c')
-rw-r--r-- | src/http/ngx_http_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_cache.c b/src/http/ngx_http_cache.c index 22572a58b..abdeae989 100644 --- a/src/http/ngx_http_cache.c +++ b/src/http/ngx_http_cache.c @@ -63,7 +63,7 @@ ngx_http_cache_t *ngx_http_cache_get(ngx_http_cache_hash_t *hash, c[i].refs++; - if ((!(c[i].notify && (ngx_event_flags & NGX_HAVE_KQUEUE_EVENT))) + if ((!(c[i].notify && (ngx_event_flags & NGX_USE_KQUEUE_EVENT))) && (ngx_cached_time - c[i].updated >= hash->update)) { c[i].expired = 1; |