26 Oct
2012
26 Oct
'12
12:38 p.m.
On 26/10/12 17:20, Arran Cudbard-Bell wrote:
On 26 Oct 2012, at 16:56, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
On 26/10/12 16:28, Arran Cudbard-Bell wrote:
Quick fix would be to change type to RLM_TYPE_THREAD_UNSAFE in the module_t struct, then it'll go through modcall_single.
Ah, I didn't think of that; I've already done this:
https://github.com/philmayers/freeradius-server/commit/2250dc653203a43446703...
:o/
Oh well!
That's better for the general case, as it's possible you'll have ldap/sql xlat expansions being done through the module which would benefit from multithreadedness.
Please send a pull request :)
Will do, let me run it for a couple of hours first though, check it doesn't explode or something!