Commit 420d0edd by Nils Goroll

Add forgotten VRT_RemoveVFP call

parent acacd065
......@@ -9,9 +9,16 @@
int
vmod_event_function(VRT_CTX, struct vmod_priv *priv, enum vcl_event_e e)
{
if (e != VCL_EVENT_LOAD)
return (0);
switch (e) {
case VCL_EVENT_LOAD:
VRT_AddVFP(ctx, &VFP_etag);
break;
case VCL_EVENT_DISCARD:
VRT_RemoveVFP(ctx, &VFP_etag);
break;
default:
break;
}
VRT_AddVFP(ctx, &VFP_etag);
return (0);
}
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