In data 24 dicembre 2010 alle ore 05:53:04, Indranil Chakravorty <[email protected]> ha scritto:

Hi,
&nbsp; Is is possible to use the sp available from vcl and which is used as a parameter for the compiled vcl C functions?

It's definitely possible to use "sp" in your C functions:

  
https://github.com/cosimo/varnish-accept-language/blob/master/examples/sample.vcl#L11

the vcl_rewrite_accept_language() function is defined as:

  
https://github.com/cosimo/varnish-accept-language/blob/master/examples/accept-language.vcl#L156

--
Cosimo

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to