Mercurial > hg > nginx
changeset 1211:9177da9e4add
fix "proxy_pass https://"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 28 May 2007 11:09:18 +0000 |
parents | e5a3800c35cc |
children | e9551132f7dd |
files | src/core/ngx_output_chain.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_output_chain.c Wed May 23 18:28:54 2007 +0000 +++ b/src/core/ngx_output_chain.c Mon May 28 11:09:18 2007 +0000 @@ -473,7 +473,7 @@ size += ngx_buf_size(cl->buf); } - if (size == 0) { + if (size == 0 && !ctx->connection->buffered) { return NGX_OK; } @@ -489,6 +489,9 @@ if (ctx->out == NULL) { ctx->last = &ctx->out; + } + + if (!ctx->connection->buffered) { return NGX_OK; }