1. 16 May, 2017 2 commits
    • Geoff Simmons's avatar
      Revert "Fix an off-by-one when copying the subject to the workspace" · 2c142833
      Geoff Simmons authored
      This reverts commit bf2b7a78.
      
      There are actually two off-by-one errors, one in WS_Assert_Allocated(),
      and another in the use of -1 to have WS_Assert_Allocated() compute
      the size of the string, including the null terminator.
      
      We don't need the subject with the null terminator in the ov_t
      structure (PRIV_TASK data), because we just need it to get backrefs
      from the indices in the ov vector returned from pcre.
      
      Also, there's a system in the VTC tests that may not be obvious.
      The b*.vtc tests are about regex matching, c*.vtc for backrefs.
      2c142833
    • Nils Goroll's avatar
      Fix an off-by-one when copying the subject to the workspace · bf2b7a78
      Nils Goroll authored
      and add a test for it
      
      Fixes #3
      bf2b7a78
  2. 13 May, 2017 1 commit
  3. 11 May, 2017 7 commits
  4. 21 Mar, 2017 1 commit
  5. 21 Feb, 2017 2 commits
  6. 17 Feb, 2017 1 commit
  7. 09 Feb, 2017 1 commit
  8. 02 Dec, 2016 3 commits
  9. 10 Oct, 2015 1 commit
  10. 21 May, 2015 4 commits
  11. 02 Apr, 2015 2 commits
  12. 15 Dec, 2014 1 commit
  13. 30 Nov, 2014 2 commits
  14. 29 Nov, 2014 1 commit
  15. 23 Nov, 2014 6 commits
  16. 22 Nov, 2014 4 commits
  17. 14 Nov, 2014 1 commit
    • Geoff Simmons's avatar
      bump to version 0.3, the first version compatible with Varnish 4. · eaa2d571
      Geoff Simmons authored
      This is a complete re-implementation, not just for Varnish 4, but also
      because, for the state maintained to access the ov structure in backref,
      it does not use a session table. Instead, regex objects have a pthread key
      for thread-local access to the ov in the ctx workspace.
      eaa2d571