$Restrict to the client side

parent 73540cb1
......@@ -224,7 +224,7 @@ vmod_set_level(VRT_CTX, VCL_INT level)
}
AZ(ctx->method & VCL_MET_TASK_H);
AN(ctx->method & (VCL_MET_TASK_C | VCL_MET_TASK_B));
AN(ctx->method & VCL_MET_TASK_C);
zfr = get_zipflow_request(ctx);
if (zfr == NULL)
return;
......
......@@ -39,6 +39,8 @@ Example
$Function VOID subreq(STRING url)
$Restrict client
Issue a sub requets to *url* when the VDP runs, similar to ESI
processing.
......@@ -49,17 +51,21 @@ how zipflow handles the body.
$Function BOOL is_subreq()
$Restrict client
True if the current request is a zipflow sub request.
$Function VOID bundle(BOOL)
$Restrict client
By default, any content handled by zipflow, be it in the parent or sub
reuqest, is bundled in the resulting ZIP file. This function can be
used to diable or re-enable bundling of the request's body.
$Function VOID set_level(INT level)
$Restrict vcl_init client backend
$Restrict vcl_init client
Set the (default) compression level for the zipflow filter.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment