Changeset 21b759
- Timestamp:
- 04/13/08 13:19:27 (4 years ago)
- Branches:
- master-v0.7, gunzip, master-v0.6, memcached_gzip, upstream_count_limit
- Children:
- 56389f
- Parents:
- 88f48a
- git-author:
- Tomash Brechko <tomash.brechko@…> (04/13/08 13:19:27)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (04/13/08 13:19:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/src/http/modules/ngx_http_gzip_filter_module.c
r95d817 r21b759 629 629 * On decompression we could already output everything 630 630 * under (ctx->flush == Z_SYNC_FLUSH), so we test here 631 * that the buffer is not empty. 631 * that the buffer is not empty, or Transfer-Encoding: 632 * is chunked. In the latter case we output empty 633 * buffer to get last zero length chunk. 632 634 */ 633 if (!r->gunzip || ctx->out_buf->last > ctx->out_buf->pos) { 635 if (!r->gunzip || ctx->out_buf->last > ctx->out_buf->pos 636 || r->chunked) { 634 637 cl->buf = ctx->out_buf; 635 638 cl->next = NULL;
Note: See TracChangeset
for help on using the changeset viewer.
