comparison src/http/ngx_http_request.c @ 2971:87ddbe960172

fix ngx_http_send_special() for subrequests handled by perl
author Igor Sysoev <igor@sysoev.ru>
date Thu, 09 Jul 2009 13:32:51 +0000
parents 5acd98486a33
children c96960a4b42c
comparison
equal deleted inserted replaced
2970:40af8afab5a5 2971:87ddbe960172
2692 if (b == NULL) { 2692 if (b == NULL) {
2693 return NGX_ERROR; 2693 return NGX_ERROR;
2694 } 2694 }
2695 2695
2696 if (flags & NGX_HTTP_LAST) { 2696 if (flags & NGX_HTTP_LAST) {
2697 b->last_buf = 1; 2697
2698 if (r == r->main && !r->post_action) {
2699 b->last_buf = 1;
2700
2701 } else {
2702 b->last_in_chain = 1;
2703 }
2698 } 2704 }
2699 2705
2700 if (flags & NGX_HTTP_FLUSH) { 2706 if (flags & NGX_HTTP_FLUSH) {
2701 b->flush = 1; 2707 b->flush = 1;
2702 } 2708 }