1. 05 Feb, 2009 22 commits
  2. 28 Jan, 2009 13 commits
  3. 19 Jan, 2009 5 commits
    • Tollef Fog Heen's avatar
      Merge r3386: · 2c58031b
      Tollef Fog Heen authored
      Implement restart in vcl_hit.
      
      Fixes #365
      
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3536 d4fa192b-c00b-0410-8231-f00ffab90ce4
      2c58031b
    • Tollef Fog Heen's avatar
      Merge r3368: · b84df1c9
      Tollef Fog Heen authored
      Add a test of the random director that uses actual randomness.
      
      This will be skipped on platforms where srandom(1) does not result
      in the same deterministic sequence of random numbers as on FreeBSD
      and Linux.
      
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3535 d4fa192b-c00b-0410-8231-f00ffab90ce4
      b84df1c9
    • Tollef Fog Heen's avatar
      Merge r3367: · 6d23d608
      Tollef Fog Heen authored
      Add a toplevel word which examines the sequence returned by
      srandom(1) and stops the test if we do not get the same sequence
      as we expect.
      
      The Open Group does not define which deterministic sequence srandom(1)
      should result in, on that it be deterministic, but I have high hopes
      in the general sanity and expect that UNIX people across the board
      have realized that for portability the same sequence should be
      returned on all platforms.
      
      At the very least FreeBSD and Linux/GLIBC, as seen on projects.linpro.no,
      agree.
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3533 d4fa192b-c00b-0410-8231-f00ffab90ce4
      6d23d608
    • Tollef Fog Heen's avatar
      Merge r3366: · c0e6650d
      Tollef Fog Heen authored
      Add a debug CLI command to seed random(3).
      
      This is a lot less useful than it could have been, as the Open Group
      only mandates that:
      
              Like rand(), random() shall produce by default a sequence
              of numbers that can be duplicated by calling srandom() with
              1 as the seed.
      
      But crucially leaves out *which* sequence of numbers.
      
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3532 d4fa192b-c00b-0410-8231-f00ffab90ce4
      c0e6650d
    • Tollef Fog Heen's avatar
      Merge r3362: · 7dadad3f
      Tollef Fog Heen authored
      Document the size parameter to -s malloc
      
      Fixes #362
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/2.0@3531 d4fa192b-c00b-0410-8231-f00ffab90ce4
      7dadad3f