From: Igor Sysoev Date: Sat, 23 Sep 2006 15:55:54 +0000 (+0000) Subject: ssi did work with memcached and nonbuffered responses X-Git-Tag: release-0.4.3~10 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=26e95cf402ede7d33aaf5d0a248d5112aa321420;p=nginx.git ssi did work with memcached and nonbuffered responses --- diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index 5045fd696..8faf14c72 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -843,7 +843,7 @@ ngx_http_ssi_body_filter(ngx_http_request_t *r, ngx_chain_t *in) continue; } - if (ctx->buf->last_buf || ctx->buf->recycled) { + if (ctx->buf->last_buf || ngx_buf_in_memory(ctx->buf)) { if (b == NULL) { if (ctx->free) { cl = ctx->free;