load_module call in vcl
Izak Burger
izak at upfrontsystems.co.za
Wed Jan 12 22:58:03 CET 2011
Hi all,
I've been studying the embedded C code used by the geoip plugin and
noticed how dlopen is used to load this functionality by declaring a
load_module procedure. What I cannot seem to figure out is where and how
this is called (grep is not my friend tonight), so at present it seems
almost like magic (or more likely, a level of indirection I'm missing).
Can anyone enlighten me?
Also, is there an unload_module or similar partner procedure that one
can define for cleanup purposes?
regards,
Izak
More information about the varnish-dev
mailing list