commit | acac00332e28576ca7e154cf9cdc9f661af65a53 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue May 29 12:06:42 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue May 29 12:06:42 2007 +0000 |
tree | 36aec0951e83379e593bd2785bf0dda87cd697ce | |
parent | a9a4672b9feaa7dcba475a002e02cb249b644c0b [diff] |
an request body might not be passed to backend, the bug was introduced in r1212
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index e2dcc4c..cc635c9 100644 --- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c
@@ -489,10 +489,10 @@ if (ctx->out == NULL) { ctx->last = &ctx->out; - } - if (!ctx->connection->buffered) { - return NGX_OK; + if (!ctx->connection->buffered) { + return NGX_OK; + } } return NGX_AGAIN;