Reg: global variable in vcl

Hardik hetardik.p at gmail.com
Fri May 17 08:16:36 UTC 2019


Hi Team,

what is difference between below this ?

https://github.com/varnish/varnish-modules/blob/master/src/vmod_var.c

and
https://code.uplex.de/uplex-varnish/varnish-objvar.git

I am familiar with first link flow wise. Generation of *.vcc file in second
link is totally different then previous one which I am not familiar with.
Someone please clarify confusion that which one should use for global
variable vmod ?

Thank you
Hardik

On Thu, 16 May 2019 at 14:11, Hardik <hetardik.p at gmail.com> wrote:

> Hi Geoff,
>
> Thank you for the hint. I am able to get the vmod src.
>
> Does I have to take care something while using this vmod ? Because first
> time going to use and also not getting any information about this.
>
> -Hardik
>
> On Wed, 15 May 2019 at 17:02, Geoff Simmons <geoff at uplex.de> wrote:
>
>> On 5/15/19 13:20, Hardik wrote:
>> >
>> > -can you point out exact path/location I can checkout and use this
>> vmod, if
>> > below path is not correct. ( I am using varnish 6.1 )
>> >
>> https://gitlab.com/uplex/varnish/varnish-objvar/tree/6.1
>>
>> That's a branch, you'll want to check out the 6.1 branch.
>>
>> $ git clone https://code.uplex.de/uplex-varnish/varnish-objvar.git
>> $ cd varnish-objvar/
>> $ git checkout 6.1
>>
>> The you can build the version compatible with 6.1 by following the
>> instructions in INSTALL.rst.
>>
>>
>> HTH,
>> Geoff
>> --
>> ** * * UPLEX - Nils Goroll Systemoptimierung
>>
>> Scheffelstraße 32
>> 22301 Hamburg
>>
>> Tel +49 40 2880 5731
>> Mob +49 176 636 90917
>> Fax +49 40 42949753
>>
>> http://uplex.de
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20190517/d47aa697/attachment.html>


More information about the varnish-misc mailing list