rlm_perl issues, patch

Alan DeKok aland at deployingradius.com
Thu Dec 1 14:22:16 CET 2011


Eike Dehling wrote:
> The solution was in the way rlm_perl calls perl_clone (for creating
> perl-threads). The perl docs say this must be done one after the other,
> not in parallel. By adding a mutex around the perl_clone calls, the
> problem went away.
> 
> I have attached a patch which solved the problem for me. Perhaps this
> patch is of use to someone else.
> 
> Suggestions and improvements are welcome?

  It looks good.  I've added it, thanks.

  Alan DeKok.



More information about the Freeradius-Devel mailing list