comparison src/http/modules/ngx_http_ssi_filter_module.c @ 334:42974b9e97b5 NGINX_0_5_37

nginx 0.5.37 *) Bugfix: if sub_filter and SSI were used together, then responses might were transferred incorrectly. *) Bugfix: large SSI inclusions might be truncated. *) Bugfix: worker processes might not catch reconfiguration and log rotation signals. *) Bugfix: nginx could not be built on latest Fedora 9 Linux. Thanks to Roxis. *) Bugfix: a segmentation fault might occur in worker process on Linux, if keepalive was enabled. *) Bugfix: an alert "sendmsg() failed (9: Bad file descriptor)" on some 64-bit platforms while reconfiguration.
author Igor Sysoev <http://sysoev.ru>
date Mon, 07 Jul 2008 00:00:00 +0400
parents 2eea67ed0bc2
children
comparison
equal deleted inserted replaced
333:30e294abe0ca 334:42974b9e97b5
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 }