Re: [squid-users] URL sometimes reurns empty response

2017-05-02 Thread Ralf Hildebrandt
* Yuri Voinov : > Hm. See no issue from my side: "Content-Length: 0", happens when Age ist either 0 or 1 $ wget -S http://www.msftconnecttest.com/ncsi.txt --2017-05-02 15:27:28-- http://www.msftconnecttest.com/ncsi.txt Auflösen des Hostnamens »proxy.charite.de

Re: [squid-users] URL sometimes reurns empty response

2017-05-02 Thread Yuri Voinov
Hm. See no issue from my side: root @ khorne /patch # wget -S http://www.msftconnecttest.com/ncsi.txt --2017-05-02 19:16:11-- http://www.msftconnecttest.com/ncsi.txt Connecting to 127.0.0.1:3128... connected. Proxy request sent, awaiting response... HTTP/1.1 200 OK Cache-Control:

Re: [squid-users] URL sometimes reurns empty response

2017-05-02 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > It seems that squid is returning an incorrect Content-Lenght: header > while the revalidation is still fresh/ongoing. > > I haven't yet tried tcpdumping the response to check if the 14 bytes > do indeed contain the correct string. And voila -

Re: [squid-users] URL sometimes reurns empty response

2017-05-02 Thread Ralf Hildebrandt
* Marcus Kool : > Looks like MS uses multiple servers for msftconnecttest.com and that they > send different content. Nope. I verified the server's responses on the proxy machines itself using direct connections. It's always correct. Note this: > > * Excess found

Re: [squid-users] URL sometimes reurns empty response

2017-05-02 Thread Ralf Hildebrandt
* Yuri Voinov : > If you add this URL to cache deny rule - problem still exists? Using this: # START acl nocaching url_regex "^http://www\.(msftconnecttest|msftncsi)\.com" cache deny nocaching # ENDE And yes, problem still exists... -- Ralf Hildebrandt

Re: [squid-users] URL sometimes reurns empty response

2017-05-02 Thread Yuri Voinov
If you add this URL to cache deny rule - problem still exists? 02.05.2017 17:59, Ralf Hildebrandt пишет: > In some cases, our proxies (got 4 of them) return a empty result when > querying "http://www.msftconnecttest.com/ncsi.txt; (whcih is used by > Microsoft Brwosers to check if they're

[squid-users] URL sometimes reurns empty response

2017-05-02 Thread Ralf Hildebrandt
In some cases, our proxies (got 4 of them) return a empty result when querying "http://www.msftconnecttest.com/ncsi.txt; (whcih is used by Microsoft Brwosers to check if they're online). I'm using this incantation to check the URL: watch -d curl --silent -v -x