Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 386:1172e6d6f40f NGINX_0_7_5
nginx 0.7.5
*) Bugfixes in variables support in the "access_log" directive; the bug
had appeared in 0.7.4.
*) Bugfix: nginx could not be built --without-http_gzip_module; the bug
had appeared in 0.7.3.
Thanks to Kirill A. Korinskiy.
*) Bugfix: if sub_filter and SSI were used together, then responses
might were transferred incorrectly.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 01 Jul 2008 00:00:00 +0400 |
parents | 984bb0b1399b |
children | 34fb3a573548 |
comparison
equal
deleted
inserted
replaced
385:08118f73d9f2 | 386:1172e6d6f40f |
---|---|
556 b->recycled = 0; | 556 b->recycled = 0; |
557 | 557 |
558 if (b->in_file) { | 558 if (b->in_file) { |
559 if (slcf->min_file_chunk < (size_t) (b->last - b->pos)) | 559 if (slcf->min_file_chunk < (size_t) (b->last - b->pos)) |
560 { | 560 { |
561 b->file_last = b->file_pos + (b->last - b->start); | 561 b->file_last = b->file_pos |
562 b->file_pos += b->pos - b->start; | 562 + (b->last - ctx->buf->pos); |
563 b->file_pos += b->pos - ctx->buf->pos; | |
563 | 564 |
564 } else { | 565 } else { |
565 b->in_file = 0; | 566 b->in_file = 0; |
566 } | 567 } |
567 } | 568 } |