Mercurial > hg > nginx
diff src/http/ngx_http_upstream.c @ 1109:1402dbb554c4
add debug logging
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 15 Feb 2007 10:00:59 +0000 |
parents | db7c468c447d |
children | c6c42497106c |
line wrap: on
line diff
--- 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