comparison src/http/ngx_http_file_cache.c @ 500:13b908d5338a NGINX_0_8_2

nginx 0.8.2 *) Bugfix: in open_file_cache and proxy/fastcgi cache interaction on start up. *) Bugfix: open_file_cache might cache open file descriptors too long.
author Igor Sysoev <http://sysoev.ru>
date Mon, 15 Jun 2009 00:00:00 +0400
parents 207ae3ff0444
children f0cac61857ae
comparison
equal deleted inserted replaced
499:2db7806a88bc 500:13b908d5338a
318 318
319 if (!c->node->exists) { 319 if (!c->node->exists) {
320 c->node->uses = 1; 320 c->node->uses = 1;
321 c->node->body_start = c->body_start; 321 c->node->body_start = c->body_start;
322 c->node->exists = 1; 322 c->node->exists = 1;
323 c->node->uniq = of.uniq;
323 324
324 cache->sh->size += (c->length + cache->bsize - 1) / cache->bsize; 325 cache->sh->size += (c->length + cache->bsize - 1) / cache->bsize;
325 } 326 }
326 327
327 ngx_shmtx_unlock(&cache->shpool->mutex); 328 ngx_shmtx_unlock(&cache->shpool->mutex);