1. 02 Mar, 2020 11 commits
  2. 27 Feb, 2020 1 commit
  3. 26 Feb, 2020 7 commits
    • Dridi Boukelmoune's avatar
      Typo · e2ef73d5
      Dridi Boukelmoune authored
      e2ef73d5
    • Jordan Christiansen's avatar
      Also fix a typo · e191c23f
      Jordan Christiansen authored
      e191c23f
    • Jordan Christiansen's avatar
      30c5e8d8
    • Nils Goroll's avatar
      d52425ff
    • 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
    • Martin Blix Grydeland's avatar
      Use rfc2616_time() to parse Age headers · b610e9a0
      Martin Blix Grydeland authored
      One time element function to rule and parse them all.
      b610e9a0
    • Martin Blix Grydeland's avatar
      Fixup private rfc2616_time function · aaaf7b38
      Martin Blix Grydeland authored
      Change the return value to unsigned, to match with the expected data type
      where it is used.
      
      Handle very large numbers consistently. Currently it was converting from
      unsigned long to int, which would throw away the most significant
      bits. Now overly large integers will be capped at UINT_MAX.
      
      Implement the "allow and ignore decimal point" behaviour that the Age
      header parsing incorporated in rfc2616_time(). This way we will allow a
      decimal points also in max-age and stale-while-revalidate parsing of
      Cache-Control directives.
      aaaf7b38
  4. 24 Feb, 2020 7 commits
  5. 21 Feb, 2020 11 commits
  6. 20 Feb, 2020 3 commits