Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread demerphq
On 2 Mar 2018 03:26, "John Dunlap" wrote: Have you tried this in your Apache config? PerlChildInitHandler "sub { srand }" Citation: http://blogs.perl.org/users/brian_phillips/2010/ 06/when-rand-isnt-random.html On Thu, Mar 1, 2018 at 1:55 PM, Vincent Veyron

Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread John Dunlap
I'm glad that fixed your problem! I'm not sure why now and not then or why one machine and not another. However, as this has to do with parallelism, I am wondering if you're using different MPM's on each installation. I've had my share of errors thrown during demos. It's not a good feeling. You

Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread Russell Lundberg
“Demos fall over” is a universal truth. Glad a fix was found! Sent from my iPhone > On Mar 1, 2018, at 17:00, Michael A. Capone > wrote: > >> On 03/01/2018 02:30 PM, Vincent Veyron wrote: >> >> Now, if you happen to know why this _had_ to surface during a demo

Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread Michael A. Capone
On 03/01/2018 02:30 PM, Vincent Veyron wrote: Now, if you happen to know why this _had_ to surface during a demo [:-( The University of Nottingham, School of Mathematical Sciences, published a highly technical paper explaining this phenomenon. Hope this helps: :-)

Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread Vincent Veyron
On Thu, 1 Mar 2018 14:26:25 -0500 John Dunlap wrote: > Have you tried this in your Apache config? > PerlChildInitHandler "sub { srand }" > > Citation: > http://blogs.perl.org/users/brian_phillips/2010/06/when-rand-isnt-random.html > Yes, that does the trick, good find. Strange

Re: Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread John Dunlap
Have you tried this in your Apache config? PerlChildInitHandler "sub { srand }" Citation: http://blogs.perl.org/users/brian_phillips/2010/06/when-rand-isnt-random.html On Thu, Mar 1, 2018 at 1:55 PM, Vincent Veyron wrote: > Hi all, > > I'm using the code below in a

Upgrade to Debian stretch (stable) breaks my unique token

2018-03-01 Thread Vincent Veyron
Hi all, I'm using the code below in a PerlResponseHandler; it generates a unique token for the request, if _token_id is not already present in the request's arguments. It's been working for months, and broke after my upgrade to stretch a week ago. I added a couple Data::Dumper calls to see