• Martin Blix Grydeland's avatar
    Do not use an objcore flagged OC_F_PASS as a stale object · 12b48097
    Martin Blix Grydeland authored
    If an object marked OF_IMSCAND is used as the template during backend
    IMS revalidation, and the new object also is marked OC_F_PASS
    (hit-for-pass) in vcl_backend_response, the resulting object would
    (though ObjCopyAttr) have both OF_IMSCAND and OC_F_PASS. The object
    could then be used again for backend IMS revalidation (since it has
    the OF_IMSCAND flag), which would cause troubles as the body would by
    this time be deleted.
    
    Fix by not considering objects marked OC_F_PASS as a stale object
    candidate during lookup.
    
    Fixes: #1956
    12b48097
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...
.gitignore 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...
Makefile.inc.phk Loading commit data...
Makefile.phk Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
config.phk Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...