----- Original Message ----- > I'm having some serious problems loading a plugin. > > The plugin loads additional dynamic modules of its own. > This fails because the plugin's modules cannot see the > symbols exported by a library linked. > > Explicitly dlopening the library fixes that problem, > but leaves the library loaded twice. The result of > this is that static variables are uninitialised > when accessed from the plugin's modules. > > HTTPD has none of those problems. The key feature HTTPD > has that trafficserver lacks is the LoadFile directive > that loads a library with RTLD_GLOBAL and without any > kind of module initialisation (like traffiserver's > TSPluginInit). > > I'd like to add an equivalent function and directive > to trafficserver. Any comments and/or objections?
+1/encouragement I think it's an excellent idea, I don't think it's something we can sensibly solve via TSPluginMechanisms() > -- > Nick Kew i -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 571B 8B8A FC97 266D BDA3 EF6F 43AD 80A4 5779 3257