reinitialize PRNG for latest Ruby 1.8.7 releases
commitb32416211ef30e958ec38c8c99833161cd476dd4
authorEric Wong <normalperson@yhbt.net>
Mon, 18 Apr 2011 22:21:58 +0000 (18 22:21 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 18 Apr 2011 22:28:29 +0000 (18 15:28 -0700)
tree56355cfced746a102bd8139ce09145b9ae4bdf59
parent3c8f21a4257578e9cdc4781dd21a6a572e25ca54
reinitialize PRNG for latest Ruby 1.8.7 releases

The current versions of Ruby 1.8 do not reseed the PRNG after
forking, so we'll work around that by calling Kernel#srand.

ref: http://redmine.ruby-lang.org/issues/show/4338
lib/unicorn/http_server.rb