comparison 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
comparison
equal deleted inserted replaced
2941:2f731201b00e 2942:9ef3719c4d8a
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 }