diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-07-09 13:32:51 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-07-09 13:32:51 +0000 |
| commit | 2e9542b9106144e534bc79b8b1589908f73fa4b5 (patch) | |
| tree | 9d3d885e0f741b76de13cd48313a7f4bcdbb1f6e /src/http/ngx_http_upstream.c | |
| parent | f8f9fc2f1a1d45df99b03344ac3abe98e9dc29ee (diff) | |
| download | nginx-2e9542b9106144e534bc79b8b1589908f73fa4b5.tar.gz nginx-2e9542b9106144e534bc79b8b1589908f73fa4b5.tar.bz2 | |
fix ngx_http_send_special() for subrequests handled by perl
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index add5b21d9..cc303b431 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -2888,7 +2888,7 @@ ngx_http_upstream_finalize_request(ngx_http_request_t *r, r->connection->log->action = "sending to client"; - if (rc == 0 && r == r->main && !r->post_action) { + if (rc == 0) { rc = ngx_http_send_special(r, NGX_HTTP_LAST); } |
