add response file uniq while loading cold cache on demand

This commit is contained in:
Igor Sysoev 2009-06-12 20:32:42 +00:00
parent e6e748db0a
commit 6fd9878b5d

View file

@ -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;
}