Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_request.c @ 194:003bd800ec2a NGINX_0_3_44
nginx 0.3.44
*) Feature: the "wait" parameter in the "include" SSI command.
*) Feature: the Ukrainian and Byelorussian characters were added to
koi-win conversion table.
*) Bugfix: in the SSI.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 04 May 2006 00:00:00 +0400 |
parents | 3689cd4e3228 |
children | 8759b346e431 |
comparison
equal
deleted
inserted
replaced
193:2a1394604ae9 | 194:003bd800ec2a |
---|---|
956 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, | 956 ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, |
957 "client closed prematurely connection"); | 957 "client closed prematurely connection"); |
958 } | 958 } |
959 | 959 |
960 if (n == 0 || n == NGX_ERROR) { | 960 if (n == 0 || n == NGX_ERROR) { |
961 ngx_http_close_request(r, NGX_HTTP_BAD_REQUEST); | 961 ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST); |
962 return NGX_ERROR; | 962 return NGX_ERROR; |
963 } | 963 } |
964 | 964 |
965 r->header_in->last += n; | 965 r->header_in->last += n; |
966 | 966 |
1478 if (rc != NGX_AGAIN && pr->postponed->request == r) { | 1478 if (rc != NGX_AGAIN && pr->postponed->request == r) { |
1479 pr->postponed = pr->postponed->next; | 1479 pr->postponed = pr->postponed->next; |
1480 } | 1480 } |
1481 | 1481 |
1482 if (r->fast_subrequest) { | 1482 if (r->fast_subrequest) { |
1483 | |
1484 if (rc == NGX_AGAIN) { | |
1485 r->fast_subrequest = 0; | |
1486 } | |
1487 | |
1483 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 1488 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
1484 "http fast subrequest: \"%V?%V\" done", | 1489 "http fast subrequest: \"%V?%V\" done", |
1485 &r->uri, &r->args); | 1490 &r->uri, &r->args); |
1486 return; | 1491 return; |
1487 } | 1492 } |
1488 | 1493 |
1489 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 1494 if (rc != NGX_AGAIN) { |
1490 "http wake parent request: \"%V?%V\"", | 1495 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
1491 &pr->uri, &pr->args); | 1496 "http wake parent request: \"%V?%V\"", |
1492 | 1497 &pr->uri, &pr->args); |
1493 pr->write_event_handler(pr); | 1498 |
1499 pr->write_event_handler(pr); | |
1500 } | |
1494 } | 1501 } |
1495 | 1502 |
1496 return; | 1503 return; |
1497 } | 1504 } |
1498 | 1505 |