[PATCH] Change hash_data() input type to BLOB

Federico Schwindt fgsch at lodoss.net
Mon Apr 20 23:15:29 CEST 2015


Updated.

On Mon, Apr 20, 2015 at 9:33 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>
wrote:

> --------
> In message <
> CAJV_h0bcyLOktmbeg8xm35Z3ep_LrMWK4sMdYVuUHn-NnM5qaw at mail.gmail.com>
> , Federico Schwindt writes:
>
> >Duh! New diff attached. Documentation and tests remaining. Something like
> >this?
>
> I would prefer to put it in vmod_std, rather than special-case
> it in VCC...
>
> >Should we keep hash_data() or rename it to hash_string() or something
> >similar?
>
> I would just leave that alone, and add std.hash_blob() for the special
> use-cases.
>
> --
> 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 --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150420/1f167226/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hash_blob_v2.patch
Type: text/x-patch
Size: 3937 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150420/1f167226/attachment-0001.bin>


More information about the varnish-dev mailing list