Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_upstream.c @ 162:6be073125f2e NGINX_0_3_28
nginx 0.3.28
*) Feature: the "restrict_host_names" directive was canceled.
*) Feature: the --with-cpu-opt=ppc64 configuration parameter.
*) Bugfix: on some condition the proxied connection with a client was
terminated prematurely.
Thanks to Vladimir Shutoff.
*) Bugfix: the "X-Accel-Limit-Rate" header line was not taken into
account if the request was redirected using the "X-Accel-Redirect"
header line.
*) Bugfix: the "post_action" directive ran only after a successful
completion of a request.
*) Bugfix: the proxied response body generated by the "post_action"
directive was transferred to a client.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 16 Feb 2006 00:00:00 +0300 |
parents | 73e8476f9142 |
children | b922c231a392 |
comparison
equal
deleted
inserted
replaced
161:086553d7da41 | 162:6be073125f2e |
---|---|
1207 u->length = NGX_MAX_SIZE_T_VALUE; | 1207 u->length = NGX_MAX_SIZE_T_VALUE; |
1208 } | 1208 } |
1209 | 1209 |
1210 rc = ngx_http_send_header(r); | 1210 rc = ngx_http_send_header(r); |
1211 | 1211 |
1212 if (rc == NGX_ERROR || rc > NGX_OK) { | 1212 if (rc == NGX_ERROR |
1213 || rc > NGX_OK | |
1214 /* post_action */ | |
1215 || (r->http_version == NGX_HTTP_VERSION_9 && r->header_only)) { | |
1213 ngx_http_upstream_finalize_request(r, u, rc); | 1216 ngx_http_upstream_finalize_request(r, u, rc); |
1214 return; | 1217 return; |
1215 } | 1218 } |
1216 | 1219 |
1217 u->header_sent = 1; | 1220 u->header_sent = 1; |