comparison src/http/ngx_http_upstream.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 b4f39842523b
children b630e7d095b3
comparison
equal deleted inserted replaced
2970:40af8afab5a5 2971:87ddbe960172
2886 return; 2886 return;
2887 } 2887 }
2888 2888
2889 r->connection->log->action = "sending to client"; 2889 r->connection->log->action = "sending to client";
2890 2890
2891 if (rc == 0 && r == r->main && !r->post_action) { 2891 if (rc == 0) {
2892 rc = ngx_http_send_special(r, NGX_HTTP_LAST); 2892 rc = ngx_http_send_special(r, NGX_HTTP_LAST);
2893 } 2893 }
2894 2894
2895 ngx_http_finalize_request(r, rc); 2895 ngx_http_finalize_request(r, rc);
2896 } 2896 }