Mercurial > hg > nginx
changeset 1031:bf1785dfb75f
allow the upstream modules to send a header only
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 15 Jan 2007 17:12:43 +0000 |
parents | 5a86fcc480c6 |
children | 899050121f43 |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Mon Jan 15 16:00:51 2007 +0000 +++ b/src/http/ngx_http_upstream.c Mon Jan 15 17:12:43 2007 +0000 @@ -1356,7 +1356,7 @@ rc = ngx_http_send_header(r); - if (rc == NGX_ERROR || rc > NGX_OK || r->post_action) { + if (rc == NGX_ERROR || rc > NGX_OK || r->post_action || r->header_only) { ngx_http_upstream_finalize_request(r, u, rc); return; }