summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_cache.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-11-25 14:10:55 +0000
committerJonathan Kolb <jon@b0g.us>2004-11-25 14:10:55 +0000
commita9c1bbe8dc08d8ee76959d8c80adcfda8adeab26 (patch)
tree13e2389458985032060275fb70560d95a79ddd30 /src/http/ngx_http_cache.c
parent482325615012516887b459aadeb6ba9be79fb4b6 (diff)
downloadnginx-a9c1bbe8dc08d8ee76959d8c80adcfda8adeab26.tar.gz
Changes with nginx 0.1.9 25 Nov 2004v0.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; bug appeared in 0.1.8.
Diffstat (limited to 'src/http/ngx_http_cache.c')
-rw-r--r--src/http/ngx_http_cache.c2
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;