Re: [squid-users] Squid caching bad objects

2017-07-12 Thread Amos Jeffries
On 13/07/17 10:08, Razor Cross wrote: Thanks Alex. Is there any way we can prevent squid from caching chunked encoding response? This should do that: acl chunked rep_header Transfer-Encoding chunked store_miss deny chunked Amos ___ squid-users m

Re: [squid-users] Squid caching bad objects

2017-07-12 Thread Razor Cross
Thanks Alex. Is there any way we can prevent squid from caching chunked encoding response? On Fri, Jul 7, 2017 at 12:40 AM, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 07/06/2017 10:06 PM, Razor Cross wrote: > > We have disabled eCAP support as part of squid compilation . Is it

Re: [squid-users] Squid caching bad objects

2017-07-06 Thread Alex Rousskov
On 07/06/2017 10:06 PM, Razor Cross wrote: > We have disabled eCAP support as part of squid compilation . Is it > related to this issue ? No: Assuming my guess about the underlying problem is correct, eCAP is irrelevant here. Alex. > On Thu, Jul 6, 2017 at 10:09 PM, Alex Rousskov wrote: > >

Re: [squid-users] Squid caching bad objects

2017-07-06 Thread Razor Cross
Thanks Alex and Amos for your inputs. A basic question - We have disabled eCAP support as part of squid compilation . Is it related to this issue ? On Thu, Jul 6, 2017 at 10:09 PM, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 07/06/2017 07:01 PM, Amos Jeffries wrote: > > > AFAIK

Re: [squid-users] Squid caching bad objects

2017-07-06 Thread Alex Rousskov
On 07/06/2017 07:01 PM, Amos Jeffries wrote: > AFAIK Squid currently should not be caching these objects at all. Or > when it does use the disk cache as a temporary storage (eg for very > large objects) marking them for immediate discard when the abort > happens. Yes, and the corresponding bug r

Re: [squid-users] Squid caching bad objects

2017-07-06 Thread Amos Jeffries
On 07/07/17 03:41, Razor Cross wrote: Hi Amos, Do you have any insights on the below issue? Is it fixed on latest squid release? Your inputs would be really helpful If that means you consider me Squid "owner" or official spokesperson. Well, I am one such, but so is Alex. If it helps

Re: [squid-users] Squid caching bad objects

2017-07-06 Thread Razor Cross
Hi Amos, Do you have any insights on the below issue? Is it fixed on latest squid release? Your inputs would be really helpful On Tue, Jun 27, 2017 at 12:04 PM, Razor Cross wrote: > > > On Tue, Jun 27, 2017 at 11:34 AM, Alex Rousskov < > rouss...@measurement-factory.com> wrote: > >> On 06/27

Re: [squid-users] Squid caching bad objects

2017-06-27 Thread Razor Cross
On Tue, Jun 27, 2017 at 11:34 AM, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 06/27/2017 10:11 AM, Razor Cross wrote: > > On Mon, Jun 26, 2017 at 12:06 PM, Alex Rousskov wrote: > > > >I suspect that the COMPLETE_NONPERSISTENT_MSG case in > > >HttpStateData::processReplyBo

Re: [squid-users] Squid caching bad objects

2017-06-27 Thread Alex Rousskov
On 06/27/2017 10:11 AM, Razor Cross wrote: > On Mon, Jun 26, 2017 at 12:06 PM, Alex Rousskov wrote: > >I suspect that the COMPLETE_NONPERSISTENT_MSG case in > >HttpStateData::processReplyBody() should be changed to call > >StoreEntry::lengthWentBad("missing last-chunk") when lastChunk

Re: [squid-users] Squid caching bad objects

2017-06-27 Thread Razor Cross
On Mon, Jun 26, 2017 at 12:06 PM, Alex Rousskov < rouss...@measurement-factory.com> wrote: > On 06/26/2017 10:11 AM, Razor Cross wrote: > > > 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 g

Re: [squid-users] Squid caching bad objects

2017-06-26 Thread Alex Rousskov
On 06/26/2017 10:11 AM, Razor Cross wrote: > 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

[squid-users] Squid caching bad objects

2017-06-26 Thread Razor Cross
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 t