mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 18:29:00 +08:00
add debug logging
This commit is contained in:
parent
65a7b8f988
commit
7b2d87ffa0
@ -433,6 +433,9 @@ ngx_http_upstream_check_broken_connection(ngx_http_request_t *r,
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user