diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-05-19 12:55:26 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-19 12:55:26 +0000 |
| commit | 980491302ba124377c8d379fb9a4c411b0cbab6d (patch) | |
| tree | 29b6e1e54d233fbbfa1915072f1970f20164a0fb | |
| parent | 8407ff24ab5579a5b44ba7c2cce1ac44b1066720 (diff) | |
| download | nginx-980491302ba124377c8d379fb9a4c411b0cbab6d.tar.gz nginx-980491302ba124377c8d379fb9a4c411b0cbab6d.tar.bz2 | |
use already given variable
| -rw-r--r-- | src/http/ngx_http_upstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index e72dafff6..9d86914e2 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -562,8 +562,8 @@ ngx_http_upstream_cache(ngx_http_request_t *r, ngx_http_upstream_t *u) u->cacheable = 1; - c->min_uses = r->upstream->conf->cache_min_uses; - c->body_start = r->upstream->conf->buffer_size; + c->min_uses = u->conf->cache_min_uses; + c->body_start = u->conf->buffer_size; c->file_cache = u->conf->cache->data; rc = ngx_http_file_cache_open(r); |
