VMOD havoc generating patch

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jan 28 12:54:04 UTC 2019


Ticket 2810 is about the names generated by vmodtool and vcc, and
while there is a good intellectual argument for getting it right,
I am a little bit worried about how much havoc that causes.

This is a WIP patch headed in that direction, and I would like to
hear input from VMOD writers.

Ideally with this stuff finished, VMOD writers can version their
vmods using $Prefix and you will then be able to import multiple
different versions of the same VMOD in the same VCL.  Not sure that
is a good thing to do, but it proves that the name-space issue is
solved.

See the changes to the in-tree vmods for how this will look for you.



-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _patch_vmodname.txt
Type: text/x-diff
Size: 39010 bytes
Desc: _patch_vmodname.txt
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20190128/036210f0/attachment-0001.bin>


More information about the varnish-dev mailing list