Mercurial > hg > nginx
diff src/http/ngx_http_file_cache.c @ 2935:92cc13f7487d
add response file uniq while loading cold cache on demand
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 12 Jun 2009 20:32:42 +0000 |
parents | 55ceaef03d34 |
children | 0998606fbfd4 |
line wrap: on
line diff
--- 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_reques 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; }