1. 22 Jun, 2021 2 commits
  2. 21 Jun, 2021 3 commits
  3. 18 Jun, 2021 2 commits
  4. 17 Jun, 2021 3 commits
  5. 14 Jun, 2021 3 commits
    • Dridi Boukelmoune's avatar
      req: New hash_ignore_vary flag · badee461
      Dridi Boukelmoune authored
      It works like the hash_ignore_busy flag: it is disabled by default
      and survives a restart, but as the name implies will skip vary checks
      for object candidates.
      badee461
    • Nils Goroll's avatar
      Fail the vcl for hard pcre errors · bd36ad4d
      Nils Goroll authored
      When a regex match failed with a hard error (anything which is not just
      a "no match"), we would log a VCL_Error but otherwise just fail the
      match.
      
      Thus, such failures were likely go remain unnoticed, which could have
      serious implications in particular with negated matches.
      
      Ref 6c663836
      bd36ad4d
    • Poul-Henning Kamp's avatar
      Always assert VSB_finish() · 5fd49a1b
      Poul-Henning Kamp authored
      Spotted by: Coverity
      5fd49a1b
  6. 13 Jun, 2021 1 commit
    • Federico G. Schwindt's avatar
      Fix compilation on macOS Big Sur · 2ac27056
      Federico G. Schwindt authored
      Fixes:
      
      In file included from vev.c:36:
       /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:328:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
       #if !_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT
            ^
       /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/pthread.h:197:2: note: expanded from macro '_PTHREAD_SWIFT_IMPORTER_NULLABILITY_COMPAT'
               defined(SWIFT_CLASS_EXTRA) && (!defined(SWIFT_SDK_OVERLAY_PTHREAD_EPOCH) || (SWIFT_SDK_OVERLAY_PTHREAD_EPOCH < 1))
      2ac27056
  7. 11 Jun, 2021 5 commits
  8. 10 Jun, 2021 14 commits
  9. 09 Jun, 2021 5 commits
  10. 04 Jun, 2021 2 commits
    • Nils Goroll's avatar
      Support ACL as a vmod return type · 40ca3c29
      Nils Goroll authored
      to the extent that the match operator ~ will actually accept vmod
      function/method calls returning it.
      
      Because VMODs also need an invalid ACL value to signal error, we stop
      panicking for a NULL ACL and trigger a VCL failure instead.
      
      The use case is not (yet) to generate dynamic ACLs, but rather to store
      and recall global ACL symbols.
      
      This implementation was particularly simple thanks to Dridis work
      on #3555 and VCL_REGEX.
      40ca3c29
    • Poul-Henning Kamp's avatar
      Use SF_Parse_Decimal() for double style parameters · f18fe9cb
      Poul-Henning Kamp authored
      Annotate parameter tweak functions with v_matchproto_()
      f18fe9cb