mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 03:21:08 +00:00
fix "proxy_pass https://"
This commit is contained in:
parent
da8c05a5fd
commit
b8ddf754f9
1 changed files with 4 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ ngx_chain_writer(void *data, ngx_chain_t *in)
|
|||
size += ngx_buf_size(cl->buf);
|
||||
}
|
||||
|
||||
if (size == 0) {
|
||||
if (size == 0 && !ctx->connection->buffered) {
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
|
@ -489,6 +489,9 @@ ngx_chain_writer(void *data, ngx_chain_t *in)
|
|||
|
||||
if (ctx->out == NULL) {
|
||||
ctx->last = &ctx->out;
|
||||
}
|
||||
|
||||
if (!ctx->connection->buffered) {
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue