rlm_sql: %{sql:<long query>} - length limit

Alan DeKok aland at deployingradius.com
Sat Apr 21 18:02:41 CEST 2007

Alan DeKok wrote:
>   This is one place where garbage collection would make the code MUCH
> easier.

  Or, memory pools.  Start off with a 1K or 2K pool for a REQUEST*, and
allocate any REQUEST specific things from there, including VALUE_PAIRs.
 It would mean that the pool code would have to be in libradius, and
that the pairfoo() interface would be updated to take a memory pool pointer.

  It would be just repetitive edits to get that done, though.  I think
the pool code should be pretty simple.  Let's see...

  Alan DeKok.
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog

More information about the Freeradius-Devel mailing list