| commit | 8488a1ce11486d84e3d8c54af19280bd37f7bc5d | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Mon Jan 15 17:12:43 2007 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Mon Jan 15 17:12:43 2007 +0000 |
| tree | c0bdf6180c9db95e22d1a725bde3948fe069000b | |
| parent | 4502bf57b346d95698def5892beb58ba9f78e582 [diff] [blame] |
allow the upstream modules to send a header only
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 00fa457..f9d2482 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -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; }