1. 16 Oct, 2020 5 commits
  2. 05 Oct, 2020 2 commits
  3. 04 Oct, 2020 3 commits
  4. 03 Oct, 2020 1 commit
    • Geoff Simmons's avatar
      Remove a superfluous comment. · c9442295
      Geoff Simmons authored
      Benchmarks have shown that (collision buckets)/(set size) ranges
      from 10%-25%, so there's no need to tweak the hash table size.
      c9442295
  5. 22 Sep, 2020 1 commit
  6. 20 Sep, 2020 2 commits
  7. 19 Sep, 2020 5 commits
  8. 18 Sep, 2020 6 commits
  9. 17 Sep, 2020 7 commits
  10. 16 Sep, 2020 1 commit
    • Geoff Simmons's avatar
      Extend .matched(), and invoke VCL failure for more error conditions. · 78b0f570
      Geoff Simmons authored
      VCL failure is invoked if:
      - no entries were added to a set
      - a set was not compiled
      - .compile() is called in a VCL sub other than vcl_init
      - a numeric index is out of range (larger than nmembers)
      - the conditions for UNIQUE or EXACT fail
      - associated data to be retrieved (string, backend etc) was not added
      
      If .match() or .hasprefix() are called with a NULL subject, it is
      logged using tag Notice, but is not an error (return value is false).
      This is because it may or may not be intentional to attempt a match
      against an unset header.
      
      The .matched() method now may have a select argument, and works
      similarly to other methods with the f(INT n, ENUM select) signature,
      except that it returns false when the select condition fails, but
      does not invoke VCL failure. This makes it possible to check if
      UNIQUE or EXACT may be used, and avoid VCL failure if desired.
      78b0f570
  11. 13 Sep, 2020 1 commit
  12. 08 Sep, 2020 3 commits
  13. 07 Sep, 2020 3 commits