# HG changeset patch # User Igor Sysoev # Date 1159026954 0 # Node ID 6875ee9f93c73d58f5ededbf4d19cedafde576d2 # Parent 3bd0d8642ad6b10822160dcd961cc71d5ef10923 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 --- 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_reques 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;