diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-06-12 20:32:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-06-12 20:32:42 +0000 |
commit | bf22945140dbbbffd8bb99db6dd62da807321f3d (patch) | |
tree | 8889605a1a9428fa3114bdfcea67f353c04867af /src/http/ngx_http_file_cache.c | |
parent | 282109b56343512d8dffd7291875d6d0e99f5655 (diff) | |
download | nginx-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.c | 1 |
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; } |