Devs, I just created a new VMOD [0] and would love if some of you could look over it. It's my first one. The primary reason I created it was so that I could avoid having to have inline C in my VCL as suggested at [1]. I asked about this a few weeks ago on IRC and was told the best way to contribute a way of doing this was to create a VMOD. Ironically, today when I was getting ready to publish my VMOD, I came across [2] where one of the two things I needed to accomplish was discussed. However, my VMOD goes beyond what was discussed in that patch in order to provide additional functionality.
Please let me know what you think. Also, if you know how to address the TODO listed at [3], please let me know! Thanks! NOTE: This VMOD has only been tested locally, and not in production yet. I hope to be putting it into production in the next few weeks if all goes well. All feedback welcome. Jeremy Thomerson [0] - https://github.com/jthomerson/libvmod-timeutils/ [1] - https://www.varnish-cache.org/trac/wiki/VCLExampleSetExpires?version=1 [2] - https://www.varnish-cache.org/lists/pipermail/varnish-dev/2012-October/007308.html [3] - https://github.com/jthomerson/libvmod-timeutils/blob/8d2921fe02ba778cc37b37aba62d226ee8f9f235/src/tests/expires_from_cache_control.vtc#L33
_______________________________________________ varnish-dev mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
