comparison src/core/ngx_output_chain.c @ 2899:61d5b945730a

fix XSLT filter in SSI subrequests
author Igor Sysoev <igor@sysoev.ru>
date Thu, 28 May 2009 15:42:27 +0000
parents 402797ed988a
children dc01b26f8de8
comparison
equal deleted inserted replaced
2898:a3501111378c 2899:61d5b945730a
501 } 501 }
502 502
503 if (src->pos == src->last) { 503 if (src->pos == src->last) {
504 dst->flush = src->flush; 504 dst->flush = src->flush;
505 dst->last_buf = src->last_buf; 505 dst->last_buf = src->last_buf;
506 dst->last_in_chain = src->last_in_chain;
506 } 507 }
507 508
508 } else { 509 } else {
509 510
510 #if (NGX_HAVE_ALIGNED_DIRECTIO) 511 #if (NGX_HAVE_ALIGNED_DIRECTIO)
575 src->file_pos += n; 576 src->file_pos += n;
576 577
577 if (src->file_pos == src->file_last) { 578 if (src->file_pos == src->file_last) {
578 dst->flush = src->flush; 579 dst->flush = src->flush;
579 dst->last_buf = src->last_buf; 580 dst->last_buf = src->last_buf;
581 dst->last_in_chain = src->last_in_chain;
580 } 582 }
581 } 583 }
582 584
583 return NGX_OK; 585 return NGX_OK;
584 } 586 }