Looks like MS uses multiple servers for msftconnecttest.com and that they send different content. On 02/05/17 08:59, Ralf Hildebrandt wrote:
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 "http://proxy-cvk-1.charite.de:8080" http://www.msftconnecttest.com/ncsi.txt Usually, the URL should just return "Microsoft NCSI". In some cases I get an empyt response, but curl reports: < Age: 5 < X-Cache: HIT from proxy-cvk-1 < Via: 1.1 proxy-cvk-1 (squid/5.0.0-20170421-r15126) < Connection: keep-alive < * Excess found in a non pipelined read: excess = 14 url = /ncsi.txt (zero-length body) * Curl_http_done: called premature == 0 * Connection #0 to host (nil) left intact As you can see, something is producing an excess of 14 Bytes (which coincides with the 14 bytes length of "Microsoft NCSI"). < Cache-Control: max-age=30,must-revalidate Immediatly after revalidating, the problem occurs. I tried this with 5.0.0-20170421-r15126 as well as 4.0.19 - same result.
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users