• Martin Blix Grydeland's avatar
    Remove negative Age assertion and truncate to zero instead. · e258ca15
    Martin Blix Grydeland authored
    The Age reported on response objects is calculated from the last
    request timestamp taken. For a cache hit that hasn't been on a
    waitinglist, that will be the Start timestamp. This opens a race where
    the requests' last timestamp could be before the objects t_origin.
    
    Truncate the Age to zero rather than assert in that case.
    
    Fixes: #1486
    e258ca15
Name
Last commit
Last update
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...
redhat Loading commit data...
.gitignore 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 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...