1. 12 Jan, 2022 1 commit
  2. 11 Jan, 2022 3 commits
  3. 02 Jul, 2021 2 commits
  4. 01 Jul, 2021 5 commits
  5. 18 Mar, 2021 1 commit
  6. 17 Mar, 2021 2 commits
  7. 15 Mar, 2021 8 commits
  8. 14 Mar, 2021 4 commits
  9. 13 Mar, 2021 4 commits
  10. 12 Mar, 2021 1 commit
  11. 11 Mar, 2021 1 commit
    • Guillaume Quintard's avatar
      builtin: Introduce vcl_builtin_* subs · 3f3d67d9
      Guillaume Quintard authored
      Provide a set of predictable subroutines that will be called by the
      built-in vcl. Only transactional built-in subroutines are concerned,
      which excludes vcl_init and vcl_fini.
      
      Closes #3548
      3f3d67d9
  12. 10 Mar, 2021 3 commits
    • Dridi Boukelmoune's avatar
      doc: Fix broken sentence · 762a52de
      Dridi Boukelmoune authored
      Better diff with the --word-diff --ignore-all-space options.
      762a52de
    • Dridi Boukelmoune's avatar
      SQUASHME: Avoid a cache hit in the test case · f0e97920
      Dridi Boukelmoune authored
      When it was in its own file it worked fine...
      f0e97920
    • Dridi Boukelmoune's avatar
      range: Propagate the VDP error for short ranges · dc5bddbd
      Dridi Boukelmoune authored
      And fix the h2_req VDP error handling as per the VDP contract.
      
      Test case inspired by Simon. Since this is one of those test cases that
      explicitly mix two features I wasn't sure whether I wanted to make this
      an h2 test case or a range test case. Since this was ultimately a range
      bug I decided to register it in a range test case.
      
      It's not obvious what should have been authoritative here. The range VDP
      was rightfully latching an error via SC_RANGE_SHORT that is defined as an
      error-type session close reason, but VDP_DeliverObj() doesn't take that
      into account. While SC_RANGE_SHORT isn't a session/protocol error for h2
      but rather a stream error it is not obvious what VDP_DeliverObj() should
      do in the absence of a negative retval and the presence of a non-null
      sess_close.
      
      Maybe another way could be to turn enum sess_close into a struct and
      embed http1 and h2 specificities directly in struct fields. We already
      have somewhat structured information in the sess_close.h table.
      
      Refs 03f71c6e
      dc5bddbd
  13. 07 Mar, 2021 1 commit
  14. 03 Mar, 2021 4 commits
    • Poul-Henning Kamp's avatar
      Also increase the stack for GCOVING · c8ccfa4b
      Poul-Henning Kamp authored
      c8ccfa4b
    • Nils Goroll's avatar
      builtin: Minor polish · c4b418a1
      Nils Goroll authored
      Only copy the host header if needed
      c4b418a1
    • Dridi Boukelmoune's avatar
      3efdc84b
    • Dridi Boukelmoune's avatar
      builtin: Split vcl_backend_response too · 7d2e14df
      Dridi Boukelmoune authored
      It's one more indirection than vcl_recv because the same logic applies
      to multiple cases, so we first have subs for the different conditions
      and they all call the shared vcl_beresp_hitmiss sub.
      
      The vcl_beresp_hitmiss sub returns on purpose, that doesn't change the
      default VCL behavior and makes it more usable from VCL code:
      
          if (some user condition applies) {
                  call vcl_beresp_hitmiss;
          }
      
      No need to force all call sites to return(deliver) when the desired
      outcome is explicit. Extracting this sub also enables VCL authors to
      only tweak the hitmiss TTL in one place.
      
      For better compliance, we might also introduce a vcl_beresp_hitpass sub
      for some of the built-in cases where a hit-for-miss object might be less
      appropriate. The compliance effort will however change some semantics
      and is outside of the scope of this split.
      7d2e14df