• Nils Goroll's avatar
    kill stale oc for backend synth and clarify when we cache errors · 9c10c5ac
    Nils Goroll authored
    Fixes #2946 in the sense that we want to treat a cacheable backend synth
    like any other object and kill the stale object it replaces.
    
    We do not replace the stale oc when
    - abandoning the bereq
    - leaving vcl_backend_error with return (deliver) and beresp.ttl == 0s
    - there is a waitinglist on this object because in this case the default
      ttl would be 1s, so we might be looking at the same case as the
      previous
    
    Thank you @mbgrydeland for the review and spotting a mistake.
    9c10c5ac
r02946.vtc 740 Bytes