Mercurial > hg > nginx-quic
comparison src/http/ngx_http_file_cache.c @ 3744:77b18d36d123
zero fcn->updating after node allocation
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 04 Aug 2010 13:34:23 +0000 |
parents | c469ffeab569 |
children | 76e3a93821b1 |
comparison
equal
deleted
inserted
replaced
3743:c469ffeab569 | 3744:77b18d36d123 |
---|---|
579 | 579 |
580 ngx_rbtree_insert(&cache->sh->rbtree, &fcn->node); | 580 ngx_rbtree_insert(&cache->sh->rbtree, &fcn->node); |
581 | 581 |
582 fcn->uses = 1; | 582 fcn->uses = 1; |
583 fcn->count = 1; | 583 fcn->count = 1; |
584 fcn->updating = 0; | |
584 | 585 |
585 renew: | 586 renew: |
586 | 587 |
587 rc = NGX_DECLINED; | 588 rc = NGX_DECLINED; |
588 | 589 |
1427 fcn->uses = 1; | 1428 fcn->uses = 1; |
1428 fcn->count = 0; | 1429 fcn->count = 0; |
1429 fcn->valid_msec = c->valid_msec; | 1430 fcn->valid_msec = c->valid_msec; |
1430 fcn->error = 0; | 1431 fcn->error = 0; |
1431 fcn->exists = 1; | 1432 fcn->exists = 1; |
1433 fcn->updating = 0; | |
1432 fcn->uniq = c->uniq; | 1434 fcn->uniq = c->uniq; |
1433 fcn->valid_sec = c->valid_sec; | 1435 fcn->valid_sec = c->valid_sec; |
1434 fcn->body_start = c->body_start; | 1436 fcn->body_start = c->body_start; |
1435 fcn->length = c->length; | 1437 fcn->length = c->length; |
1436 | 1438 |