# HG changeset patch # User Igor Sysoev # Date 1171028954 0 # Node ID aed9dfe2a4f21b3b0d61c5b9c6ba2d33ed7c00f1 # Parent df8cdf626c879e0ed3154079f7c1a2315cddc455 log a right subrequest diff -r df8cdf626c87 -r aed9dfe2a4f2 src/http/ngx_http_upstream.c --- a/src/http/ngx_http_upstream.c Fri Feb 09 11:56:23 2007 +0000 +++ b/src/http/ngx_http_upstream.c Fri Feb 09 13:49:14 2007 +0000 @@ -1784,6 +1784,7 @@ { ngx_event_pipe_t *p; ngx_connection_t *c, *downstream; + ngx_http_log_ctx_t *ctx; ngx_http_request_t *r; ngx_http_upstream_t *u; @@ -1801,6 +1802,9 @@ ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, "http upstream process upstream"); c->log->action = "reading upstream"; + + ctx = c->log->data; + ctx->current_request = r; } p = u->pipe;