RLM_PERL mysql disconnect : what is the preferred handling ?

itquestioner itquestioner at yahoo.fr
Mon Aug 12 18:27:25 CEST 2013

First question from beginners 

We've found in the freeradius wiki, that the correct way to  manage connection to mysql is to initiate the connection in the CLONE function.
But where should we put $dbh->disconnect() to be sure that any connection will also be closed ? Whatever the  result  of the request treatment, and the stage in which  the module may exit.

Thank you
best regards

More information about the Freeradius-Users mailing list