module init hook

Cal Heldenbrand cal at
Wed Jan 6 16:45:28 CET 2010


Is there a good method to load my module in the main varnishd thread?
Currently I'm just adding some inline code to vcl_recv to open up my shared
lib and call dlsym() to load my functions.  Looking at the compiled VCL
code, is it possible to inject something in VGC_Init()?  And, would that
load my module once on startup, then still be available to each handler


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list