Have child processes srand on startup.
authorAndrew Rodland <andrew@cleverdomain.org>
Fri, 21 Nov 2014 02:57:10 +0000 (21:57 -0500)
committerAndrew Rodland <andrew@cleverdomain.org>
Fri, 21 Nov 2014 02:57:10 +0000 (21:57 -0500)
commit7edfbf2711576d4d23656fe268f384dadae34f8b
tree2bba25ba20cc3ee8b97ba0d561658b7b1e6df7dc
parent20bc3e18a425650cf52526b99cdc666f967d9b8f
Have child processes srand on startup.

This makes sure that each child has independent random numbers even if
someone called rand() before the fork. Starman does this, and it's
a good idea.
lib/FCGI/ProcManager.pm