Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.c @ 2874:e16e03d62435
use already given variable
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 19 May 2009 12:55:26 +0000 |
parents | 3e10674139e4 |
children | 6e1941b321b7 |
comparison
equal
deleted
inserted
replaced
2873:e069d0b8b198 | 2874:e16e03d62435 |
---|---|
560 | 560 |
561 ngx_http_file_cache_create_key(r); | 561 ngx_http_file_cache_create_key(r); |
562 | 562 |
563 u->cacheable = 1; | 563 u->cacheable = 1; |
564 | 564 |
565 c->min_uses = r->upstream->conf->cache_min_uses; | 565 c->min_uses = u->conf->cache_min_uses; |
566 c->body_start = r->upstream->conf->buffer_size; | 566 c->body_start = u->conf->buffer_size; |
567 c->file_cache = u->conf->cache->data; | 567 c->file_cache = u->conf->cache->data; |
568 | 568 |
569 rc = ngx_http_file_cache_open(r); | 569 rc = ngx_http_file_cache_open(r); |
570 | 570 |
571 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 571 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |