[PATCH] vmod_digest

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Oct 14 11:24:18 CEST 2011


In message <20111014084235.GA4766 at freud.kly.no>, Kristian Lyngstol writes:

>Then the problem becomes that you have to inform the caller of the
>length. That shouldn't be a big deal either, but not quite as elegant as
>I'd prefer.

The "txt" typedef we use primarily in cache_http can contain binary
data, but we usually tacitly assume that it contains NUL-terminated
data.

-- 
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