diff src/core/ngx_output_chain.c @ 2942:9ef3719c4d8a stable-0.7

merge r2900: fix XSLT filter in SSI subrequests
author Igor Sysoev <igor@sysoev.ru>
date Mon, 15 Jun 2009 09:02:09 +0000
parents 402797ed988a
children dc01b26f8de8
line wrap: on
line diff
--- a/src/core/ngx_output_chain.c
+++ b/src/core/ngx_output_chain.c
@@ -503,6 +503,7 @@ ngx_output_chain_copy_buf(ngx_output_cha
         if (src->pos == src->last) {
             dst->flush = src->flush;
             dst->last_buf = src->last_buf;
+            dst->last_in_chain = src->last_in_chain;
         }
 
     } else {
@@ -577,6 +578,7 @@ ngx_output_chain_copy_buf(ngx_output_cha
         if (src->file_pos == src->file_last) {
             dst->flush = src->flush;
             dst->last_buf = src->last_buf;
+            dst->last_in_chain = src->last_in_chain;
         }
     }