Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 665:5fd7a5e99047 release-0.3.54
nginx-0.3.54-RELEASE import
*) Feature: nginx now logs the subrequest information to the error log.
*) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and
"memcached_next_upstream" directives support the "off" parameter.
*) Feature: the "debug_connection" directive supports the CIDR address
form.
*) Bugfix: if a response of proxied server or FastCGI server was
converted from UTF-8 or back, then it may be transferred incomplete.
*) Bugfix: the $upstream_response_time variable had the time of the
first request to a backend only.
*) Bugfix: nginx could not be built on amd64 platform; the bug had
appeared in 0.3.53.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Jul 2006 13:20:19 +0000 |
parents | 6d5c1535bb9d |
children | 63a820b0bc6c |
comparison
equal
deleted
inserted
replaced
664:db08f60f873f | 665:5fd7a5e99047 |
---|---|
1160 ngx_http_subrequest(ngx_http_request_t *r, | 1160 ngx_http_subrequest(ngx_http_request_t *r, |
1161 ngx_str_t *uri, ngx_str_t *args, ngx_uint_t flags) | 1161 ngx_str_t *uri, ngx_str_t *args, ngx_uint_t flags) |
1162 { | 1162 { |
1163 ngx_connection_t *c; | 1163 ngx_connection_t *c; |
1164 ngx_http_request_t *sr; | 1164 ngx_http_request_t *sr; |
1165 ngx_http_log_ctx_t *ctx; | |
1165 ngx_http_core_srv_conf_t *cscf; | 1166 ngx_http_core_srv_conf_t *cscf; |
1166 ngx_http_postponed_request_t *pr, *p; | 1167 ngx_http_postponed_request_t *pr, *p; |
1167 | 1168 |
1168 r->main->subrequests--; | 1169 r->main->subrequests--; |
1169 | 1170 |
1270 p->next = pr; | 1271 p->next = pr; |
1271 | 1272 |
1272 } else { | 1273 } else { |
1273 r->postponed = pr; | 1274 r->postponed = pr; |
1274 } | 1275 } |
1276 | |
1277 ctx = c->log->data; | |
1278 ctx->current_request = sr; | |
1275 | 1279 |
1276 sr->internal = 1; | 1280 sr->internal = 1; |
1277 sr->fast_subrequest = 1; | 1281 sr->fast_subrequest = 1; |
1278 | 1282 |
1279 sr->discard_body = r->discard_body; | 1283 sr->discard_body = r->discard_body; |