# HG changeset patch # User Igor Sysoev # Date 1171533659 0 # Node ID 1402dbb554c4f1e8e17b38fbb24cabddefdc53ed # Parent 109e8c7d7cc14e0e19e0438367e931d166c6b2e1 add debug logging diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -433,6 +433,9 @@ ngx_http_upstream_check_broken_connectio err = ngx_socket_errno; + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, ev->log, err, + "http upstream recv(): %d", n); + /* * we do not need to disable the write event because * that event has NGX_USE_CLEAR_EVENT type