Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_ssi_filter_module.c @ 513:fbbf16224844 release-0.1.31
nginx-0.1.31-RELEASE import
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: errors while processing FastCGI response by SSI.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the redirect with the 301 code was transferred without
response body; the bug had appeared in 0.1.30.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 May 2005 13:53:20 +0000 |
parents | 9b8c906f6e63 |
children | 7fa11e5c6e96 |
comparison
equal
deleted
inserted
replaced
512:3be320f17dbb | 513:fbbf16224844 |
---|---|
319 | 319 |
320 ctx->timefmt.len = sizeof("%A, %d-%b-%Y %H:%M:%S %Z") - 1; | 320 ctx->timefmt.len = sizeof("%A, %d-%b-%Y %H:%M:%S %Z") - 1; |
321 ctx->timefmt.data = (u_char *) "%A, %d-%b-%Y %H:%M:%S %Z"; | 321 ctx->timefmt.data = (u_char *) "%A, %d-%b-%Y %H:%M:%S %Z"; |
322 | 322 |
323 r->filter_need_in_memory = 1; | 323 r->filter_need_in_memory = 1; |
324 r->filter_ssi_need_in_memory = 1; | |
325 | 324 |
326 if (r->main == NULL) { | 325 if (r->main == NULL) { |
327 r->headers_out.content_length_n = -1; | 326 r->headers_out.content_length_n = -1; |
328 if (r->headers_out.content_length) { | 327 if (r->headers_out.content_length) { |
329 r->headers_out.content_length->hash = 0; | 328 r->headers_out.content_length->hash = 0; |
462 cl->buf = b; | 461 cl->buf = b; |
463 } | 462 } |
464 | 463 |
465 ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t)); | 464 ngx_memcpy(b, ctx->buf, sizeof(ngx_buf_t)); |
466 | 465 |
466 b->pos = ctx->copy_start; | |
467 b->last = ctx->copy_end; | |
468 b->shadow = NULL; | |
467 b->last_buf = 0; | 469 b->last_buf = 0; |
468 b->recycled = 0; | 470 b->recycled = 0; |
469 b->pos = ctx->copy_start; | |
470 b->last = ctx->copy_end; | |
471 | 471 |
472 if (b->in_file) { | 472 if (b->in_file) { |
473 if (conf->min_file_chunk < (size_t) (b->last - b->pos)) | 473 if (conf->min_file_chunk < (size_t) (b->last - b->pos)) |
474 { | 474 { |
475 b->file_last = b->file_pos + (b->last - b->start); | 475 b->file_last = b->file_pos + (b->last - b->start); |