Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_upstream.c @ 284:3dbecd747fbb NGINX_0_5_12
nginx 0.5.12
*) Bugfix: nginx could not be built on platforms different from i386,
amd64, sparc É ppc; bug appeared in 0.5.8.
*) Bugfix: a segmentation fault might occur in worker process if the
temporarily files were used while working with FastCGI server; bug
appeared in 0.5.8.
*) Bugfix: a segmentation fault might occur in worker process if the
$fastcgi_script_name variable was logged.
*) Bugfix: ngx_http_perl_module could not be built on Solaris.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 12 Feb 2007 00:00:00 +0300 |
parents | c5c2b2883984 |
children | 5bef04fc3fd5 |
comparison
equal
deleted
inserted
replaced
283:48810289fcb1 | 284:3dbecd747fbb |
---|---|
1782 static void | 1782 static void |
1783 ngx_http_upstream_process_body(ngx_event_t *ev) | 1783 ngx_http_upstream_process_body(ngx_event_t *ev) |
1784 { | 1784 { |
1785 ngx_event_pipe_t *p; | 1785 ngx_event_pipe_t *p; |
1786 ngx_connection_t *c, *downstream; | 1786 ngx_connection_t *c, *downstream; |
1787 ngx_http_log_ctx_t *ctx; | |
1787 ngx_http_request_t *r; | 1788 ngx_http_request_t *r; |
1788 ngx_http_upstream_t *u; | 1789 ngx_http_upstream_t *u; |
1789 | 1790 |
1790 c = ev->data; | 1791 c = ev->data; |
1791 r = c->data; | 1792 r = c->data; |
1799 | 1800 |
1800 } else { | 1801 } else { |
1801 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, | 1802 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, |
1802 "http upstream process upstream"); | 1803 "http upstream process upstream"); |
1803 c->log->action = "reading upstream"; | 1804 c->log->action = "reading upstream"; |
1805 | |
1806 ctx = c->log->data; | |
1807 ctx->current_request = r; | |
1804 } | 1808 } |
1805 | 1809 |
1806 p = u->pipe; | 1810 p = u->pipe; |
1807 | 1811 |
1808 if (ev->timedout) { | 1812 if (ev->timedout) { |