diff options
Diffstat (limited to 'src/core')
-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; |