1. 12 Aug, 2020 2 commits
    • Geoff Simmons's avatar
      Retire README.rst, use pandoc to generate README.md. · b263b8cf
      Geoff Simmons authored
      The rst source has apparently become too large for gitlab web sites
      to be able to render it. So we just go with markdown, in the hopes
      that gitlab can better cope with it.
      
      It's not an error if you don't have pandoc installed, but then
      README will not be kept up to date with the docs in vcc.
      b263b8cf
    • Geoff Simmons's avatar
      Fix tests that fail for recent linre2 versions. · 3e94935f
      Geoff Simmons authored
      Since 2020-06-01, backrefs fail if numbered higher than the highest
      backref actually captured- Previously, re2 returned the empty string.
      
      I believe that these tests will now pass for both current and earlier
      versions.
      3e94935f
  2. 10 Dec, 2019 1 commit
  3. 13 Nov, 2019 1 commit
  4. 31 Oct, 2019 1 commit
    • Geoff Simmons's avatar
      Add autotool support for generating coverage reports. · 8dbfc85c
      Geoff Simmons authored
      configure checks if you have lcov & genhtml; these can be specified
      with --with-lcov and/or --with-genhtml.
      
      If they are available, then make coverage does the following:
      
      - make clean, then make check with CC=gcc & CXX=g++, and CFLAGS &&
        CXXFLAGS set so that inputs for gcov/lcov are generated.
      
      - lcov creates the src/coverage subdir and generates a targetfile
        there.
      
      - genhtml generates HTML reports in src/coverage.
      8dbfc85c
  5. 08 Oct, 2019 1 commit
  6. 29 Aug, 2019 1 commit
    • Geoff Simmons's avatar
      Add set.hdr_filter(). · 07d677aa
      Geoff Simmons authored
      This necessitates adding the matchonly() method to the vre2set
      interface, which only checks for matches, and does not save the
      indices of matching elements. It also requires a length parameter
      (since headers in struct http are not null-terminated).
      
      It also requires the return of the configure-time check for whether
      the RE2::Set::Match() method can be called with a NULL vector for
      the indices.
      07d677aa
  7. 23 Aug, 2019 1 commit
  8. 22 Aug, 2019 1 commit
  9. 25 Jun, 2019 2 commits
  10. 16 Apr, 2019 2 commits
  11. 15 Apr, 2019 1 commit
  12. 07 Apr, 2019 1 commit
    • Nils Goroll's avatar
      fix forgotten WS_Release() calls for failing WS_Reserve() · c9bf6534
      Nils Goroll authored
      This should hopefully fix a panic which has to be caused by forgotten
      WS_Release() calls and which occurred close to VCL code which handles
      re2 sets.
      
      Redacted panic:
      
      Panic at: Fri, 05 Apr 2019 19:15:24 GMT
      Assert error in WS_Reserve(), cache/cache_ws.c line 236:
        Condition(ws->r == NULL) not true.
      version = varnish-trunk revision af2bad23deb2470533158f9d99ad3f4968b8d231, vrt api = 9.0
      ident = Linux,3.13.0-137-generic,x86_64,-junix,-smalloc,-sdefault,-hcritbit,epoll
      now = 3999664.335146 (mono), 1554491669.714933 (real)
      Backtrace:
        0x43c1bb: /usr/sbin/varnishd() [0x43c1bb]
        0x49e182: /usr/sbin/varnishd(VAS_Fail+0x42) [0x49e182]
        0x45d1ac: /usr/sbin/varnishd() [0x45d1ac]
        0x44d792: /usr/sbin/varnishd(VRT_String+0x22) [0x44d792]
        0x44de66: /usr/sbin/varnishd(VRT_SetHdr+0xf6) [0x44de66]
        ...(redacted for customer proprietary information)
      
      See also https://github.com/varnishcache/varnish-cache/issues/2967
      for a general discussion regarding an inconsistency in the WS_Reserve()
      interface
      c9bf6534
  13. 18 Mar, 2019 2 commits
  14. 07 Mar, 2019 1 commit
  15. 05 Feb, 2019 2 commits
  16. 02 Feb, 2019 2 commits
  17. 03 Dec, 2018 8 commits
  18. 03 Oct, 2018 3 commits
  19. 17 Jul, 2018 3 commits
  20. 03 Jul, 2018 1 commit
  21. 07 Jun, 2018 2 commits
  22. 06 Jun, 2018 1 commit