[nginx] Proxy: style.

Maxim Dounin mdounin at mdounin.ru
Mon Jul 6 18:00:59 UTC 2020


details:   https://hg.nginx.org/nginx/rev/a786e491d08d
branches:  
changeset: 7677:a786e491d08d
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Mon Jul 06 18:36:21 2020 +0300
description:
Proxy: style.

diffstat:

 src/http/modules/ngx_http_proxy_module.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d225b70d38b6 -r a786e491d08d src/http/modules/ngx_http_proxy_module.c
--- a/src/http/modules/ngx_http_proxy_module.c	Mon Jul 06 18:36:20 2020 +0300
+++ b/src/http/modules/ngx_http_proxy_module.c	Mon Jul 06 18:36:21 2020 +0300
@@ -2206,13 +2206,13 @@ ngx_http_proxy_chunked_filter(ngx_event_
 
         /* 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);
 


More information about the nginx-devel mailing list