diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-05-29 12:06:42 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-05-29 12:06:42 +0000 |
commit | acac00332e28576ca7e154cf9cdc9f661af65a53 (patch) | |
tree | 36aec0951e83379e593bd2785bf0dda87cd697ce /src/core/ngx_output_chain.c | |
parent | a9a4672b9feaa7dcba475a002e02cb249b644c0b (diff) | |
download | nginx-acac00332e28576ca7e154cf9cdc9f661af65a53.tar.gz nginx-acac00332e28576ca7e154cf9cdc9f661af65a53.zip |
an request body might not be passed to backend,
the bug was introduced in r1212
Diffstat (limited to 'src/core/ngx_output_chain.c')
-rw-r--r-- | src/core/ngx_output_chain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index e2dcc4c52..cc635c9a9 100644 --- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c @@ -489,10 +489,10 @@ ngx_chain_writer(void *data, ngx_chain_t *in) 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; |