| 1000 |
return ap_pass_brigade(f->next, bb); |
return ap_pass_brigade(f->next, bb); |
| 1001 |
} |
} |
| 1002 |
|
|
|
/* these are unlikely to be set anyway, but ... */ |
|
|
apr_table_unset(r->headers_out, "Content-Length"); |
|
|
apr_table_unset(r->headers_out, "Content-MD5"); |
|
|
|
|
| 1003 |
f->ctx = ctx = apr_pcalloc(f->r->pool, sizeof(*ctx)); |
f->ctx = ctx = apr_pcalloc(f->r->pool, sizeof(*ctx)); |
| 1004 |
ctx->bb = apr_brigade_create(r->pool, f->c->bucket_alloc); |
ctx->bb = apr_brigade_create(r->pool, f->c->bucket_alloc); |
| 1005 |
ctx->buffer = apr_palloc(r->pool, c->bufferSize); |
ctx->buffer = apr_palloc(r->pool, c->bufferSize); |
| 1032 |
apr_pool_cleanup_register(r->pool, ctx, deflate_ctx_cleanup, |
apr_pool_cleanup_register(r->pool, ctx, deflate_ctx_cleanup, |
| 1033 |
apr_pool_cleanup_null); |
apr_pool_cleanup_null); |
| 1034 |
|
|
| 1035 |
|
/* these are unlikely to be set anyway, but ... */ |
| 1036 |
apr_table_unset(r->headers_out, "Content-Length"); |
apr_table_unset(r->headers_out, "Content-Length"); |
| 1037 |
|
apr_table_unset(r->headers_out, "Content-MD5"); |
| 1038 |
|
|
| 1039 |
/* initialize inflate output buffer */ |
/* initialize inflate output buffer */ |
| 1040 |
ctx->stream.next_out = ctx->buffer; |
ctx->stream.next_out = ctx->buffer; |