Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_gzip_filter.c @ 154:eac26585476e
nginx-0.0.1-2003-10-22-11:05:29 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 22 Oct 2003 07:05:29 +0000 |
parents | c71aeb75c071 |
children | 46eb23d9471d |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_gzip_filter.c +++ b/src/http/modules/ngx_http_gzip_filter.c @@ -287,6 +287,8 @@ static int ngx_http_gzip_body_filter(ngx ngx_create_temp_hunk(r->pool, conf->bufs.size, 0, 0), ngx_http_gzip_error(ctx)); + ctx->out_hunk->tag = (ngx_hunk_tag_t) + &ngx_http_gzip_filter_module; ctx->out_hunk->type |= NGX_HUNK_RECYCLED; ctx->hunks++; @@ -417,7 +419,8 @@ ngx_log_debug(r->connection->log, "DEFLA return ngx_http_gzip_error(ctx); } - ngx_chain_update_chains(&ctx->free, &ctx->busy, &ctx->out); + ngx_chain_update_chains(&ctx->free, &ctx->busy, &ctx->out, + (ngx_hunk_tag_t) &ngx_http_gzip_filter_module); ctx->last_out = &ctx->out; } }