<div dir="ltr"><div><div><div>Hi, Amos,<br></div>We are using squid 3.5. for our
server. Recently we have noticed that squid is caching incomplete
objects in case of chunked response.<br></div><br clear="all"><div><div>We
have gone through the squid code. It looks likes squid is caching
incomplete response in case of EOF from the server even though it does
not receive the last empty chunk.<br><br><div class="gmail_signature"><br></div> if (eof) // already reached EOF<br> return COMPLETE_NONPERSISTENT_MSG;<br><br><br></div><div>As per RFC, <br><pre class="gmail-newpage"> "The chunked encoding is ended by any chunk whose size is
zero, followed by the trailer, which is terminated by an empty line."
</pre></div><div><br></div></div></div><div>Is this expected? Because of this problem, our server ends up serving bad objects to the user.</div></div>