aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_file_cache.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-06-12 20:32:42 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-06-12 20:32:42 +0000
commitbf22945140dbbbffd8bb99db6dd62da807321f3d (patch)
tree8889605a1a9428fa3114bdfcea67f353c04867af /src/http/ngx_http_file_cache.c
parent282109b56343512d8dffd7291875d6d0e99f5655 (diff)
downloadnginx-bf22945140dbbbffd8bb99db6dd62da807321f3d.tar.gz
nginx-bf22945140dbbbffd8bb99db6dd62da807321f3d.zip
add response file uniq while loading cold cache on demand
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r--src/http/ngx_http_file_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c
index 248cd9455..323358742 100644
--- a/src/http/ngx_http_file_cache.c
+++ b/src/http/ngx_http_file_cache.c
@@ -320,6 +320,7 @@ ngx_http_file_cache_open(ngx_http_request_t *r)
c->node->uses = 1;
c->node->body_start = c->body_start;
c->node->exists = 1;
+ c->node->uniq = of.uniq;
cache->sh->size += (c->length + cache->bsize - 1) / cache->bsize;
}