You were right, it was wrong. The change I made to the VCL fixed the one problem but screwed up the rest of the site so I had to back it out.<div><br></div><div>Attached is a varnish log of the activity. I have some tcpdumps at various points too if you need them.</div>
<div><br></div><div>I still think it's connected to tomcat and specifically the JK connector. It seems the JK connector has an 8K limit (AJP 1.3) and breaks up large files in the transmission between tomcat and the webserver. The characters may be (?) part of JK's breakup of the file. My reasoning is because I can take the same file and place it directly on the web server and no problem, only when it comes from tomcat/jk do we have these issues. ( I can't convince the programmers to take static content out of their java apps and put it on the server )</div>
<div><br></div><div><br></div><div><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 5:22 PM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In message <<a href="mailto:AANLkTikRDbvceKr14-PKP8RuIC9Djyab0kLiehPG2Ea4@mail.gmail.com">AANLkTikRDbvceKr14-PKP8RuIC9Djyab0kLiehPG2Ea4@mail.gmail.com</a>>, Davi<br>
<div class="im">d Brown writes:<br>
<br>
>I checked and it seems the Transfer-Encoding header is being stripped by<br>
>Varnish. I can see it when I go directly to the web server but not when I<br>
>view the file through Varnish.<br>
><br>
>I worked around the problem by adding this to my VCL<br>
<br>
</div>That sounds positively wrong.<br>
<br>
Is it possible that you can capture a varnishlog of one of these<br>
transaction and send to me ?<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG         | TCP/IP since RFC 956<br>
FreeBSD committer       | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</div></div></blockquote></div><br></div>