mirror of
https://github.com/nginx/nginx.git
synced 2026-10-25 13:32:27 +00:00
use already given variable
This commit is contained in:
parent
8407ff24ab
commit
980491302b
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue