I myself was having trouble with vmods, for the people who are looking at the vmods for the first time, probably the better way to understand them is by writing the vcl file and running "varnishd" with "-C" option, this option shows the c code generated for the vcl logic written in the default.vcl file.. by this method, one can easily check how the vcl code is converted into its corresponding c code, and it would serve as a big help so as how to use/introduce variables in vcl logic.
-Arun
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
