Welcome! Log In Create A New Profile

Advanced

[PATCH 3 of 3] Proxy: logging levels tuned, double logging fixed

Maxim Dounin
September 25, 2011 06:48AM
# HG changeset patch
# User Maxim Dounin <mdounin@mdounin.ru>
# Date 1316882053 -14400
# Node ID c8b8e7ee205ec2fe6481a29feb3149e2d6409b32
# Parent 4a179d089c41bb2e8dbc606e3db8064899907193
Proxy: logging levels tuned, double logging fixed.

diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1559,7 +1559,7 @@ ngx_http_proxy_copy_filter(ngx_event_pip
r = p->input_ctx;
p->upstream_done = 1;

- ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
+ ngx_log_error(NGX_LOG_WARN, r->connection->log, 0,
"upstream sent too many data");
}

@@ -1817,9 +1817,6 @@ done:

invalid:

- ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
- "upstream sent invalid chunked response");
-
return NGX_ERROR;
}

@@ -1933,7 +1930,7 @@ ngx_http_proxy_chunked_filter(ngx_event_

/* invalid response */

- ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
+ ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"upstream sent invalid chunked response");

return NGX_ERROR;
@@ -2089,7 +2086,7 @@ ngx_http_proxy_non_buffered_chunked_filt

/* invalid response */

- ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
+ ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
"upstream sent invalid chunked response");

return NGX_ERROR;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 0 of 3] keepalive/chunked patches

Maxim Dounin 1584 September 25, 2011 06:48AM

[PATCH 1 of 3] Upstream: clearing of u->peer.connection on close

Maxim Dounin 624 September 25, 2011 06:48AM

Re: [PATCH 1 of 3] Upstream: clearing of u->peer.connection on close

xiaohanhoho 578 October 09, 2011 03:24AM

Re: [PATCH 1 of 3] Upstream: clearing of u->peer.connection on close

Maxim Dounin 700 October 09, 2011 03:38PM

[PATCH 2 of 3] Proxy: whitespaces after chunk size allowed

Maxim Dounin 587 September 25, 2011 06:48AM

[PATCH 3 of 3] Proxy: logging levels tuned, double logging fixed

Maxim Dounin 558 September 25, 2011 06:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready