• Nils Goroll's avatar
    centralize cleanup after fetch errors · 7b40b80d
    Nils Goroll authored
    imples the following changes:
    
    * VDI_Finish() is now always conditional on bo->director_state !=
      DIR_S_NULL, making it idempotent
    
    * introduces additional calls to VFP_Close() from startfetch and
      for the filter_list / VCL_StackVFP error in vbf_stp_fetch(),
      but VFP_Close() is idempotent.
    
    * adds VFP_Close() for VFP_Open() failure in vbf_stp_fetch() which
      I think is actually missing (for the case that some VFPs could
      get opened before the open failure)
    
    * calls VDI_Finish() earlier in vbf_stp_fetchend: I checked the
      code and can not see any issue with this.
    
    motivated by #3009
    
     Conflicts:
    	bin/varnishd/cache/cache_fetch.c
    7b40b80d
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...