New VCL_BLOB type
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Dec 13 13:27:46 CET 2013
As agreed at the VDD in Berlin, I have added a "BLOB" type to the VCC.
It can only be used as return value and argument to VMOD functions.
I've reused the vmod_priv structure as carrier for BLOBs and added
a length field to it for this purpose.
Examples in libvmod_debug and m00012.vtc
Please provide feedback ASAP-ish if this implementation will not
work for the usecases we talked about (vmod-digest etc.) so we
do not cast a bad implementation in stone for 4.0-R.
--
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.
More information about the varnish-dev
mailing list