mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 03:17:17 +08:00
an request body might not be passed to backend,
the bug was introduced in r1212
This commit is contained in:
parent
a9a4672b9f
commit
acac00332e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user