Klaus Demo nginx / 68fab7c
Sub filter: flush buffers handling. Maxim Dounin 9 years ago
1 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
368368 continue;
369369 }
370370
371 if (ctx->buf->last_buf || ngx_buf_in_memory(ctx->buf)) {
371 if (ctx->buf->last_buf || ctx->buf->flush
372 || ngx_buf_in_memory(ctx->buf))
373 {
372374 if (b == NULL) {
373375 cl = ngx_chain_get_free_buf(r->pool, &ctx->free);
374376 if (cl == NULL) {
386388 }
387389
388390 b->last_buf = ctx->buf->last_buf;
391 b->flush = ctx->buf->flush;
389392 b->shadow = ctx->buf;
390393
391394 b->recycled = ctx->buf->recycled;