Skip to content

Commit

Permalink
also reset filter_list upon cleanup
Browse files Browse the repository at this point in the history
in particular because it may live on the workspace.

Required for #3009
  • Loading branch information
nigoroll committed Oct 7, 2019
1 parent bbd4c47 commit e2b43f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/varnishd/cache/cache_fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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 ?
Expand Down

0 comments on commit e2b43f8

Please sign in to comment.