Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_request.c @ 248:acd2ec3541cb NGINX_0_4_9
nginx 0.4.9
*) Feature: the "set" parameter in the "include" SSI command.
*) Feature: the ngx_http_perl_module now tests the nginx.pm module
version.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 13 Oct 2006 00:00:00 +0400 |
parents | c982febb7588 |
children | f3ec44f4a53b |
comparison
equal
deleted
inserted
replaced
247:fcca101509a4 | 248:acd2ec3541cb |
---|---|
1474 r->write_event_handler = ngx_http_core_run_phases; | 1474 r->write_event_handler = ngx_http_core_run_phases; |
1475 ngx_http_core_run_phases(r); | 1475 ngx_http_core_run_phases(r); |
1476 return; | 1476 return; |
1477 } | 1477 } |
1478 | 1478 |
1479 if (r != r->main | 1479 if (r != r->main && r->post_subrequest) { |
1480 && rc != NGX_ERROR | 1480 rc = r->post_subrequest->handler(r, r->post_subrequest->data, rc); |
1481 && !r->connection->error | |
1482 && !r->request_output | |
1483 && r->out) | |
1484 { | |
1485 if (!r->header_sent) { | |
1486 rc = ngx_http_set_content_type(r); | |
1487 | |
1488 if (rc == NGX_OK) { | |
1489 rc = ngx_http_send_header(r); | |
1490 | |
1491 if (rc != NGX_ERROR) { | |
1492 rc = ngx_http_output_filter(r, r->out); | |
1493 } | |
1494 } | |
1495 | |
1496 } else { | |
1497 rc = ngx_http_output_filter(r, r->out); | |
1498 } | |
1499 } | 1481 } |
1500 | 1482 |
1501 if (rc == NGX_ERROR | 1483 if (rc == NGX_ERROR |
1502 || rc == NGX_HTTP_REQUEST_TIME_OUT | 1484 || rc == NGX_HTTP_REQUEST_TIME_OUT |
1503 || r->connection->error) | 1485 || r->connection->error) |