Mercurial > hg > nginx-quic
diff src/http/modules/proxy/ngx_http_proxy_cache.c @ 190:02a715e85df1
nginx-0.0.1-2003-11-19-00:34:08 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 18 Nov 2003 21:34:08 +0000 |
parents | c966c09be66b |
children | dd66383796a5 |
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_proxy_cache.c +++ b/src/http/modules/proxy/ngx_http_proxy_cache.c @@ -55,6 +55,7 @@ int ngx_http_proxy_get_cached_response(n p->header_in->tag = (ngx_hunk_tag_t) &ngx_http_proxy_module; c->ctx.buf = p->header_in; + c->ctx.log = r->connection->log; return ngx_http_proxy_process_cached_response(p, ngx_http_cache_get_file(r, &c->ctx)); @@ -341,8 +342,7 @@ static void ngx_http_proxy_cache_look_co *ctx = p->cache->ctx; - rc = ngx_http_cache_open_file(p->request, ctx, - ngx_file_uniq(&p->cache->ctx.file.info)); + rc = ngx_http_cache_open_file(ctx, ngx_file_uniq(&p->cache->ctx.file.info)); if (rc == NGX_HTTP_CACHE_THE_SAME) { p->try_busy_lock = 1;