comparison src/http/modules/ngx_http_sub_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
320 b->shadow = NULL; 320 b->shadow = NULL;
321 b->last_buf = 0; 321 b->last_buf = 0;
322 b->recycled = 0; 322 b->recycled = 0;
323 323
324 if (b->in_file) { 324 if (b->in_file) {
325 b->file_last = b->file_pos + (b->last - b->start); 325 b->file_last = b->file_pos + (b->last - ctx->buf->pos);
326 b->file_pos += b->pos - b->start; 326 b->file_pos += b->pos - ctx->buf->pos;
327 } 327 }
328 328
329 cl->next = NULL; 329 cl->next = NULL;
330 *ctx->last_out = cl; 330 *ctx->last_out = cl;
331 ctx->last_out = &cl->next; 331 ctx->last_out = &cl->next;