[PATCH] fileread for the std VMOD

Sanjoy Das sanjoy at playingwithpointers.com
Mon Nov 15 09:48:23 CET 2010


Hi!

Here's an implementation which uses malloc instead of mmap (and hence
bypasses both the issues altogether); and a more rigorous testcase.

-- 
Regards,

Sanjoy Das.

http://playingwithpointers.com

Public Key at http://playingwithpointers.com/custom/public_key.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fileread-vmod-malloc.patch
Type: text/x-patch
Size: 4119 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20101115/1ada5013/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fileread-testcase.patch
Type: text/x-patch
Size: 2769 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20101115/1ada5013/attachment-0007.bin>


More information about the varnish-dev mailing list