comparison src/http/ngx_http_upstream.c @ 613:c73c5c58c619 release-0.3.28

nginx-0.3.28-RELEASE import *) 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 <igor@sysoev.ru>
date Thu, 16 Feb 2006 15:26:46 +0000
parents 3f8a2132b93d
children 5ef026a2ac74
comparison
equal deleted inserted replaced
612:182bfe05e2c3 613:c73c5c58c619
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;