INNER CODE UNIT · C
ctx
intel/asynch_mode_nginx · modules/nginx_qatzip_module/ngx_http_qatzip_filter_module.c:305
ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_qatzip_ctx_t));
if (ctx == NULL) {
return NGX_ERROR;
}
ngx_http_set_ctx(r, ctx, ngx_http_qatzip_filter_module);
ctx->request = r;
ctx->buffering = (conf->postpone_qatzipping != 0);
h = ngx_list_push(&r->headers_out.headers);
if (h == NULL) {
return NGX_ERROR;
}
h->hash = 1;
ngx_str_set(&h->key, "Content-Encoding");
ngx_str_set(&h->value, "gzip");