mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
log a right subrequest
This commit is contained in:
parent
f0b150faf8
commit
f15b839a88
@ -1784,6 +1784,7 @@ ngx_http_upstream_process_body(ngx_event_t *ev)
|
|||||||
{
|
{
|
||||||
ngx_event_pipe_t *p;
|
ngx_event_pipe_t *p;
|
||||||
ngx_connection_t *c, *downstream;
|
ngx_connection_t *c, *downstream;
|
||||||
|
ngx_http_log_ctx_t *ctx;
|
||||||
ngx_http_request_t *r;
|
ngx_http_request_t *r;
|
||||||
ngx_http_upstream_t *u;
|
ngx_http_upstream_t *u;
|
||||||
|
|
||||||
@ -1801,6 +1802,9 @@ ngx_http_upstream_process_body(ngx_event_t *ev)
|
|||||||
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0,
|
||||||
"http upstream process upstream");
|
"http upstream process upstream");
|
||||||
c->log->action = "reading upstream";
|
c->log->action = "reading upstream";
|
||||||
|
|
||||||
|
ctx = c->log->data;
|
||||||
|
ctx->current_request = r;
|
||||||
}
|
}
|
||||||
|
|
||||||
p = u->pipe;
|
p = u->pipe;
|
||||||
|
Loading…
Reference in New Issue
Block a user