Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.c @ 615:5ef026a2ac74 release-0.3.29
nginx-0.3.29-RELEASE import
*) Feature: now nginx uses less memory, if PHP in FastCGI mode sends
many warnings before the response.
*) Bugfix: the "Transfer-Encoding: chunked" header line was issued in
the 204 responses for the HTTP/1.1 requests.
*) Bugfix: nginx returned the 502 response, if the complete response
header lines were transferred in a separate FastCGI records.
*) Bugfix: if the proxied URI was specified in the "post_action"
directive, then it ran only after a successful completion of a
request.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 20 Feb 2006 16:48:17 +0000 |
parents | c73c5c58c619 |
children | 7a16e281c01f |
comparison
equal
deleted
inserted
replaced
614:790c134e002d | 615:5ef026a2ac74 |
---|---|
281 | 281 |
282 if (c->read->timer_set) { | 282 if (c->read->timer_set) { |
283 ngx_del_timer(c->read); | 283 ngx_del_timer(c->read); |
284 } | 284 } |
285 | 285 |
286 r->read_event_handler = ngx_http_upstream_rd_check_broken_connection; | 286 if (!(r->http_version == NGX_HTTP_VERSION_9 && r->header_only)) { |
287 r->write_event_handler = ngx_http_upstream_wr_check_broken_connection; | 287 /* not a post_action */ |
288 | |
289 r->read_event_handler = ngx_http_upstream_rd_check_broken_connection; | |
290 r->write_event_handler = ngx_http_upstream_wr_check_broken_connection; | |
291 } | |
288 | 292 |
289 if (ngx_event_flags & NGX_USE_CLEAR_EVENT) { | 293 if (ngx_event_flags & NGX_USE_CLEAR_EVENT) { |
290 | 294 |
291 if (!c->write->active) { | 295 if (!c->write->active) { |
292 if (ngx_add_event(c->write, NGX_WRITE_EVENT, NGX_CLEAR_EVENT) | 296 if (ngx_add_event(c->write, NGX_WRITE_EVENT, NGX_CLEAR_EVENT) |