Skip to content
Permalink
Browse files

also reset filter_list upon cleanup

in particular because it may live on the workspace.

Required for #3009
  • Loading branch information...
nigoroll committed Oct 2, 2019
1 parent bbd4c47 commit e2b43f86fdf719c2f9cf1f6f976e5bef064ea565
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/varnishd/cache/cache_fetch.c
@@ -94,6 +94,8 @@ vbf_cleanup(struct busyobj *bo)
CHECK_OBJ_NOTNULL(vfc, VFP_CTX_MAGIC);

VFP_Close(vfc);
bo->filter_list = NULL;

if (bo->director_state != DIR_S_NULL)
VDI_Finish(bo);
}
@@ -253,7 +255,6 @@ vbf_stp_retry(struct worker *wrk, struct busyobj *bo)
bo->storage = NULL;
bo->do_esi = 0;
bo->do_stream = 1;
bo->filter_list = NULL;
bo->was_304 = 0;

// XXX: BereqEnd + BereqAcct ?

0 comments on commit e2b43f8

Please sign in to comment.
You can’t perform that action at this time.