[Catalyst] [PATCH] [RFC] Seed the RNG in Catalyst::Engine::FastCGI

Andrew Rodland arodland at comcast.net
Tue Feb 3 18:47:57 GMT 2009


On Tuesday 03 February 2009 11:45:07 am Jonathan Rockway wrote:
> * On Mon, Feb 02 2009, Andrew Rodland wrote:
> > I've thought over the problem and decided that the only appropriate place
> > for a fix is in Engine::FastCGI. A srand anyplace else (including the app
> > code) would run either too early (not solving the "shared state" problem)
> > or too late (re-seeding on every request is Bad.)
>
> Wait, is there a reason why we can't do this in FCGI::ProcManager
> instead?  This is something that affects everyone using FCGI, not just
> Catalyst.
>
A reasonable question. I'll see if I can get gbjk's thoughts on the matter.

Andrew



More information about the Catalyst mailing list