In message <[email protected]>, "T. 
Pascal" writes:

>if ((beresp.status == 200) && (length(body) > 3000)) {

The trouble is that vcl_fetch is called before the body is fetched
from the backend, so we cannot know the length, if the transfer
method is EOF or chunked...

-- 
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]
http://lists.varnish-cache.org/mailman/listinfo/varnish-dev

Reply via email to