[squid-users] URL sometimes reurns empty response
Ralf Hildebrandt
Ralf.Hildebrandt at charite.de
Tue May 2 13:15:26 UTC 2017
* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:
> 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 - here we go (Content-Length: 0 but squid sends 14 bytes of excess data: "Microsoft NCSI")
15:10:31.741436 IP proxy-cvk-1.charite.de.http-alt > vsw-it-nw-10.54228: Flags [P.], seq 1:952, ack 156, win 235, options [nop,nop,TS val 126939588 ecr 1696144349], length 951: HTTP: HTTP/1.1 200 OK
E...cR at .?....*...*......V?.....5....U......
....e...HTTP/1.1 200 OK
Cache-Control: max-age=30,must-revalidate
Content-Length: 0
Content-Type: text/plain
Last-Modified: Fri, 04 Mar 2016 06:55:23 GMT
ETag: "0x8D343F9F578A7F9"
Server: Microsoft-IIS/7.5
x-ms-request-id: 6508a999-0001-0016-4fbc-c0483a000000
x-ms-version: 2009-09-19
x-ms-meta-CbModifiedTime: Tue, 01 Mar 2016 21:41:22 GMT
x-ms-lease-status: unlocked
x-ms-blob-type: BlockBlob
X-ECN-P: RD0003FF838204
Access-Control-Expose-Headers: X-MSEdge-Ref
Access-Control-Allow-Origin: *
Timing-Allow-Origin: *
X-CID: 7
X-CCC: US
X-MSEdge-Ref: Ref A: 2C6BD6F103A24795AE6784C3DC22E5F5 Ref B: BER30EDGE0115 Ref C: Tue May 2 06:10:31 2017 PST
X-MSEdge-Ref-OriginShield: Ref A: 5A9FC4FE82DC4E2DB26E51E59C50B50A Ref B: AMS04EDGE0506 Ref C: Sat Apr 29 05:30:12 2017 PST
Date: Tue, 02 May 2017 13:10:31 GMT
Age: 0
X-Cache: HIT from proxy-cvk-1
Via: 1.1 proxy-cvk-1 (squid/5.0.0-20170429-r15127)
Connection: keep-alive
Microsoft NCSI
15:10:31.741454 IP vsw-it-nw-10.54228 > proxy-cvk-1.charite.de.http-alt: Flags [.], ack 952, win 243, options [nop,nop,TS val 1696144352 ecr 126939588], length 0
E..4._ at .@..=.*...*.........5V?.G.....O.....
e.......
--
Ralf Hildebrandt Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de Campus Benjamin Franklin
https://www.charite.de Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
More information about the squid-users
mailing list