1. 07 Dec, 2016 15 commits
  2. 05 Dec, 2016 12 commits
  3. 04 Dec, 2016 1 commit
  4. 02 Dec, 2016 6 commits
  5. 01 Dec, 2016 1 commit
    • Dridi Boukelmoune's avatar
      Make Lck_AssertHeld trigger in the caller's code · 98204cba
      Dridi Boukelmoune authored
      The `held == 0` branch in the Lck__AssertHeld function is *never*
      taken and `cache.h` instructs to only use the macro. Being generated
      from calling code, the panic message becomes more informative.
      
      Panic messages were up until now not very helpful:
      
          Assert error in Lck__Assert(), cache/cache_lck.c line 175:
          Condition(ilck->held) not true.
      98204cba
  6. 30 Nov, 2016 5 commits
    • Federico G. Schwindt's avatar
      Polish somewhat · cc8fb90e
      Federico G. Schwindt authored
      cc8fb90e
    • Federico G. Schwindt's avatar
      Treat skipped tests as such · 206ae064
      Federico G. Schwindt authored
      E.g.
      
      and
      
      0 tests failed, 7 tests skipped, 558 tests passed
      
      This could use some tlc but will do it for now.
      206ae064
    • Nils Goroll's avatar
      fix enum check in vcc: do not accept values valid for other arguments · b2d75389
      Nils Goroll authored
      VCC was silently accepting enum values valid for other arguments
      following in the argument list as well as other identifiers in the
      argument spec (for example "ENUM"). Consequently, wrong enum values in
      VCL were not detected at VCC time and passed to vmod functions, which,
      in the best case, would detect the error (and, if following the
      varnish good practice, panic on a failed assertion).
      
      This is another forgotten case since the enum list was changed to be
      terminated by \1 in a78efad8: vcc_expr
      would just loop over the \1 terminator up to the final \0 terminator
      at the end of the argument spec.
      b2d75389
    • Dridi Boukelmoune's avatar
      Polish · 2a450be4
      Dridi Boukelmoune authored
      2a450be4
    • Dridi Boukelmoune's avatar
      Allow comparisons of IP addresses in VCL · dd0f6a54
      Dridi Boukelmoune authored
      It's a loose comparison of socket addresses, not including the port
      number. But not loose enough to compare IPv4 addresses to v4-mapped
      IPv6 addresses.
      
      Fixes #2142
      dd0f6a54