chunked transfer encoding

Poul-Henning Kamp phk at phk.freebsd.dk
Tue May 11 11:40:54 CEST 2010


In message <97924.57505.qm at web51902.mail.re2.yahoo.com>, Peter Janovsky writes:

>thnx poul, i must have read the documentation wrong. for my
>clarificaiton, if the backend specifies "Transfer-Encoding: chunked"
>and we are caching the file within varnish, varnish will send chunk
>the response to the client while simultaneously caching the file?

No, Varnish will receive the entire object from the backend, then
sind it with Content-Length to the client.

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