aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2020-07-06 18:36:21 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2020-07-06 18:36:21 +0300
commit7f2490c43cec0367c94e9e0a3881f4e5e32063de (patch)
tree639d63a37bd5a5c952b4c3820fd8a1e11ba84b46 /src/http/modules/ngx_http_proxy_module.c
parent156e193408f8c1847f911b8758aa315d71c52211 (diff)
downloadnginx-7f2490c43cec0367c94e9e0a3881f4e5e32063de.tar.gz
nginx-7f2490c43cec0367c94e9e0a3881f4e5e32063de.zip
Proxy: style.
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 6cf15759c..6cf2cbde0 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -2206,13 +2206,13 @@ ngx_http_proxy_chunked_filter(ngx_event_pipe_t *p, ngx_buf_t *buf)
/* invalid response */
- ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
+ ngx_log_error(NGX_LOG_ERR, p->log, 0,
"upstream sent invalid chunked response");
return NGX_ERROR;
}
- ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+ ngx_log_debug2(NGX_LOG_DEBUG_HTTP, p->log, 0,
"http proxy chunked state %ui, length %O",
ctx->chunked.state, p->length);