an request body might not be passed to backend,

the bug was introduced in r1212
This commit is contained in:
Igor Sysoev 2007-05-29 12:06:42 +00:00
parent a9a4672b9f
commit acac00332e

View File

@ -489,10 +489,10 @@ ngx_chain_writer(void *data, ngx_chain_t *in)
if (ctx->out == NULL) { if (ctx->out == NULL) {
ctx->last = &ctx->out; ctx->last = &ctx->out;
}
if (!ctx->connection->buffered) { if (!ctx->connection->buffered) {
return NGX_OK; return NGX_OK;
}
} }
return NGX_AGAIN; return NGX_AGAIN;