]> git.kaiwu.me - nginx.git/commitdiff
add response file uniq while loading cold cache on demand
authorIgor Sysoev <igor@sysoev.ru>
Fri, 12 Jun 2009 20:32:42 +0000 (20:32 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 12 Jun 2009 20:32:42 +0000 (20:32 +0000)
src/http/ngx_http_file_cache.c

index 248cd9455669936b4165cfb5bd84b10c03fe47c1..323358742d8700c99bc305e01f10e9603c62be85 100644 (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;
         }