Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2017-01-01 Thread Alex Rousskov
On 12/27/2016 06:13 AM, Heiler Bemerguy wrote: > Why is squid compressing it Squid does not compress because Squid does not have the code to compress. To understand what it going on, you need to find the agent that does compression. It could be the origin server, an ICAP service, an eCAP adapter

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-28 Thread Amos Jeffries
On 2016-12-28 06:31, Heiler Bemerguy wrote: Hi, refresh_pattern -i \.(jp[eg]{1,2}|pdf|gif|pn[pg]|bmp|tiff|ico|swf|css|js|ad|png)$ 10080 80% 120960 ignore-no-store ignore-reload ignore-must-revalidate ignore-private override-expire store-stale But it shouldn't change the length of the object, th

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-27 Thread Eliezer Croitoru
972-5-28704261 Email: elie...@ngtech.co.il From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of Heiler Bemerguy Sent: Tuesday, December 27, 2016 7:31 PM To: squid-users@lists.squid-cache.org Subject: Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-27 Thread Heiler Bemerguy
lists.squid-cache.org] *On Behalf Of *Heiler Bemerguy *Sent:* Tuesday, December 27, 2016 4:03 PM *To:* squid-us...@squid-cache.org *Subject:* Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?! The server doesn't define any "content-encoding". This is the *original **

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-27 Thread Eliezer Croitoru
nistrator Mobile: +972-5-28704261 Email: elie...@ngtech.co.il From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf Of Heiler Bemerguy Sent: Tuesday, December 27, 2016 4:03 PM To: squid-us...@squid-cache.org Subject: Re: [squid-users] squid 4.0.17 accept-encoding.. sen

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-27 Thread Heiler Bemerguy
The server doesn't define any "content-encoding". This is the *original **server *reply, tcpdumped: HTTP/1.1 200 OK Set-Cookie: ACE-STICKY=R1291873686; path=/; expires=Mon, 26-Dec-2016 23:51:26 GMT Date: Mon, 26 Dec 2016 19:36:06 GMT Accept-Ranges: bytes Content-Length: 15226

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-27 Thread Heiler Bemerguy
Hey dudes, thanks for the replies.. Client GET say it won't accept any encoding format. Why is squid compressing it and sending as compressed to a client that explicity says it doesn't accept encoding? Is this really correct? Because no browser is liking it here. Even more, I think no data

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-27 Thread Amos Jeffries
On 2016-12-27 13:07, Alex Rousskov wrote: On December 26, 2016 10:11:55 AM Heiler Bemerguy wrote: *Accept-Encoding: none* *Content-Encoding: gzip* These are end-to-end headers. Squid does not modify or add them (unless you tell it to do that). The origin server does not honor the bogus "n

Re: [squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-26 Thread Alex Rousskov
On December 26, 2016 10:11:55 AM Heiler Bemerguy wrote: *Accept-Encoding: none* *Content-Encoding: gzip* These are end-to-end headers. Squid does not modify or add them (unless you tell it to do that). The origin server does not honor the bogus "none" content coding requested by the cli

[squid-users] squid 4.0.17 accept-encoding.. sending gzip?!!!

2016-12-26 Thread Heiler Bemerguy
Continuing the weirdeness. It was like this: 1482773242.442 96 10.1.4.22 TCP_REFRESH_UNMODIFIED/200 *31152 *GET http://agendamento.inss.gov.br/saginternet/resources/bootstrap/css/bootstrap.min.css - HIER_DIRECT/200.152.32.99*text/html* Then after a full cache wipe: 1482773914.752344 1

[squid-users] squid 4.0.17 accept-encoding.. sending gzip?!

2016-12-26 Thread Heiler Bemerguy
Hi list, This is my box trying to GET a CSS file via squid 4.0.17: GET http://agendamento.inss.gov.br/saginternet/resources/bootstrap/css/bootstrap.min.css HTTP/1.1 Host: agendamento.inss.gov.br User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 Accept: t