Search squid archive

Re: URL sometimes reurns empty response

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

 



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 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.
>

-- 
Bugs to the Future

Attachment: 0x613DEC46.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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