1. 09 Sep, 2016 15 commits
  2. 08 Sep, 2016 1 commit
  3. 07 Sep, 2016 1 commit
    • Pål Hermunn Johansen's avatar
      Use "none" to disable authentication · 564250ae
      Pål Hermunn Johansen authored
      This is an adaptation of b2c18706 by Federico G. Schwindt.
      
      Previously you needed an empty argument (''), which didn't play very
      well along sysv init scripts and was not documented. Now both "none"
      and the empty argument work, but an extra warning is echoed if the
      empty argument is used.
      
      The documentation only mentions "none" for disabling the secret, since
      this is the only way of doing it in the next version.
      
      Fixes #2007.
      564250ae
  4. 06 Sep, 2016 1 commit
  5. 05 Sep, 2016 3 commits
  6. 29 Aug, 2016 2 commits
    • Dridi Boukelmoune's avatar
      Iterate without an extra variable · 91d56ca0
      Dridi Boukelmoune authored
      91d56ca0
    • Dridi Boukelmoune's avatar
      A `cmd` feature for custom shell-based checks · bb867d8c
      Dridi Boukelmoune authored
      In addition to harcoded features in varnishtest, this opens a window for
      out-of-tree uses of the test framework to skip test cases if an external
      component (a database system, OS-specific capabilities, an environment
      variable, a library, etc) is missing.
      
      This feature takes an extra argument, a command-line that must exit with
      a zero status. Complex feature testing can nicely be wrapped in scripts
      at the user's discretion:
      
          feature cmd "my --command=line"
      
      If the test is skipped, it is logged as:
      
          **   top   0.0 === feature cmd "my --command=line"
          *    top   0.0 SKIPPING test, missing feature: my --command=line
      
      If the command-line is missing, it is logged as:
      
          **   top   0.0 === feature cmd
          ---- top   0.0 Missing the command line
      bb867d8c
  7. 13 Aug, 2016 1 commit
  8. 12 Aug, 2016 3 commits
  9. 10 Aug, 2016 2 commits
    • Pål Hermunn Johansen's avatar
      Add #2024 to the changelog · 4292ce98
      Pål Hermunn Johansen authored
      4292ce98
    • Nils Goroll's avatar
      close a potential race which could cause an out-of-bounds array access · 9edb2b65
      Nils Goroll authored
      We're only holding a read lock on the director, but we're updating
      the nxt member concurrently. This should be acceptable as a performance
      tradeoff - the only consequence is that round-robin is not strictly
      going around - it may occasionally skip a backend or hand out the same
      multiple times in a row.
      
      the race is:
      
      	thread	code
      
      	A:	rr->nxt %= rr->vd->n_backend;
      	// rr->nxt == rr->vd->n_backend - 1
      	B:	rr->nxt++;
      	// rr->nxt == rr->vd->n_backend
      	A:	be = rr->vd->backend[nxt];
      	// BOOM
      
      should fix #2024
      9edb2b65
  10. 09 Aug, 2016 1 commit
  11. 27 Jul, 2016 1 commit
    • Pål Hermunn Johansen's avatar
      Add some error checking to child_poker · dee325d3
      Pål Hermunn Johansen authored
      The child_poker lives in the manager process, and sends pings to the
      child. With this patch we check that we actually get a PONG back, and
      not some random data. If problems are detected, we kill the child.
      
      Related to: #2010
      dee325d3
  12. 08 Jul, 2016 2 commits
  13. 06 Jul, 2016 2 commits
  14. 30 Jun, 2016 1 commit
  15. 28 Jun, 2016 3 commits
  16. 27 Jun, 2016 1 commit