In message <[email protected]>, 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
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to