Search squid archive

Squid caching bad objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Amos,
We are using squid 3.5. for our server. Recently we have noticed that squid is caching incomplete objects in case of chunked response.

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.


 if (eof) // already reached EOF
        return COMPLETE_NONPERSISTENT_MSG;


As per RFC,
 "The chunked encoding is ended by any chunk whose size is
   zero, followed by the trailer, which is terminated by an empty line."


Is this expected? Because of this problem, our server ends up serving bad objects to the user.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux