From 26e95cf402ede7d33aaf5d0a248d5112aa321420 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 23 Sep 2006 15:55:54 +0000 Subject: ssi did work with memcached and nonbuffered responses --- src/http/modules/ngx_http_ssi_filter_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') 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; -- cgit