1. 05 Mar, 2024 14 commits
  2. 04 Mar, 2024 4 commits
  3. 01 Mar, 2024 15 commits
  4. 28 Feb, 2024 1 commit
    • Dridi Boukelmoune's avatar
      vtc: Coverage for withdrawn bgfetch · 3eeb8c4f
      Dridi Boukelmoune authored
      This adds coverage for a non-delivery transition from vcl_hit, where the
      busy objcore would drop its sole reference in the event of a grace hit.
      The lack of coverage was visible in the gcov dashboard:
      
          669   580   if (busy != NULL) {
          670   0     	(void)HSH_DerefObjCore(wrk, &busy, 0);
          671   0     	VRY_Clear(req);
          672   0     }
      
      There should now be at least one pass inside this block.
      
      Refs #4032
      3eeb8c4f
  5. 26 Feb, 2024 3 commits
  6. 19 Feb, 2024 3 commits
    • Nils Goroll's avatar
      Move decision on fetch_chunksize to the storage engine · d77da13b
      Nils Goroll authored
      For chunked encoding, we do not know how big the object is ultimately
      going to be, so VFP_GetStorage() called ObjGetSpace() with the
      fetch_chunksize parameter in this case.
      
      Yet which size is best might differ for different storage engines, and
      having the information that the caller does not know the final size
      might be relevant. Storage engines could guess that if a request came
      in for fetch_chunksize that this _might_ be the "chunked" case, but
      that heuristic would be wrong for Objects of just that size advertised
      via Content-Length.
      
      So this patch takes the guesswork out of the game by just passing the
      magic 0 value down to the storage engine to mean "give me some good
      chunk of bytes, I do not know how much I am going to need".
      d77da13b
    • Asad Sajjad Ahmed's avatar
      varnishd: kill the killlist · 8cbb4d1e
      Asad Sajjad Ahmed authored
      Since, we seems to not use it at all.
      Signed-off-by: 's avatarAsad Sajjad Ahmed <asadsa@varnish-software.com>
      8cbb4d1e
    • Poul-Henning Kamp's avatar
      Flexelinting · 2921ac50
      Poul-Henning Kamp authored
      2921ac50