Hi, I would just like to mention that we are working on a vdp/vfp to exec arbitrary external filter programs. Before you shout "it's unsafe" or "performance will suck": Yes, you are right, and I totally agree, but we got very good reasons: The application is extremely low traffic, the filter is quite costly (in the order of seconds per invocation) and we will highly benefit from address space isolation (due to a high number of 3rd party libraries used by the filter we are going to use, so we are convinced that it will leak memory and contain wild pointers).
That said, we would like to support a syntax similar to myvdp.set_args("some", "argument", " and more ", blob.encode(HEX, whatever.get())); for which we could abuse STRING_LIST or some (bound) list of optional/default value arguments right now, but actually real VARARGS would be much better/cleaner. Could we extend the .vmod interface by something like $Function VOID foo (STRING, ...) which would turn into a va_args argument of the previous type? Nils
_______________________________________________ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev