From: Igor Sysoev Date: Tue, 29 May 2007 12:06:42 +0000 (+0000) Subject: an request body might not be passed to backend, X-Git-Tag: release-0.5.22~1 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=acac00332e28576ca7e154cf9cdc9f661af65a53;p=nginx.git 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 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;