summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-09-23 15:55:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-09-23 15:55:54 +0000
commit26e95cf402ede7d33aaf5d0a248d5112aa321420 (patch)
treeb782cd9548bdc99980db318c7b01b629ed5481db
parent331d71c41ef26b1fef6017dd6caf48af0d43b961 (diff)
downloadnginx-26e95cf402ede7d33aaf5d0a248d5112aa321420.tar.gz
nginx-26e95cf402ede7d33aaf5d0a248d5112aa321420.tar.bz2
ssi did work with memcached and nonbuffered responses
Diffstat (limited to '')
-rw-r--r--src/http/modules/ngx_http_ssi_filter_module.c2
1 files changed, 1 insertions, 1 deletions
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;