• Martin Blix Grydeland's avatar
    Keep Age information on passes · cff50548
    Martin Blix Grydeland authored
    When doing a pass, we would remove the Age header from the backend, and
    create a new one based on the time the fetch was initiated. This creates
    problems when calculating the time to live in downstream caches (browser
    cache or layered varnishes).
    
    With this patch, the RFC_2616_Ttl calculation routine is run also for
    passes, where the t_origin field of the object is adjusted for an incoming
    Age header. This makes sure that the Age header generated during delivery
    is correct. The rest of the Ttl calculation is skipped for passes,
    including the logging of SLT_TTL "RFC".
    
    Fixes: varnishcache/varnish-cache#3221
    cff50548
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
fuzzers Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...