[squid-users] Squid not accounting server response
Satish Thareja
satishthareja at gmail.com
Tue Oct 14 12:16:08 UTC 2014
Hi Amos,
The client is being served the content as per the range in the request headers.
The object is cacheable and there are no other caches involved.
The client requested range : 36798-103216128 (incorrect value in the last email)
Object length : 103701442
Squid seen bytes(from server): 103262382
Server Bytes seen in packet capture : 103701442
Playback using browser fails but curl requests(with same range) are
somehow being cached.
Thanks,
Satish
On Tue, Oct 14, 2014 at 5:23 PM, Amos Jeffries <squid3 at treenet.co.nz> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 15/10/2014 12:20 a.m., Satish Thareja wrote:
>> Hi,
>>
>> I trying to get a video cached wherein the client sends a range
>> request for the video object(Range: bytes=36798-103701442) which
>> gets converted to request without range(range_offset_limit set to
>> 10MB).
>>
>> What I see, is after squid serves the client request and gets
>> about 103262382 bytes of data, there is no further reads on the
>> server side file descriptor and the server side connection times
>> out after 15 minutes(timeout limit).
>>
>> But the packet capture on the squid machine suggest that the whole
>> object is being sent by the server and squid is seeing upto
>> 103262382 bytes only. Is this a known issue with squid?
>
> What else is going on?
> for example, how much was delivered to the client?
> is the object cacheable?
> is the transaction being adapted?
>
> If the object cannot be cached, and the client (or ICAP/eCAP adapters)
> stops receiving there is nothing Squid can do but wait. If the server
> times out first while it and Squid are both waiting there is nothing
> Squid can do.
>
> Amos
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
>
> iQEcBAEBAgAGBQJUPQ61AAoJELJo5wb/XPRjX5MIAMEVz2+vMnnwlRcdgGT0jc0c
> rI6J1iisP9nsOf6d61MwYllRqexC8AtTMxs0juXAvY1nhC+HLjZeRYNLBukupsE5
> QWMJCMb2nH3EsLV7wpY2Sjw0CprMCYoNN4GffppFZiAhxL1i7k3cjkVwMIObv5PM
> tkjHZPTkSj68EpGwEC+X2RK8/h738JRjq2fPJl2BXKSlD209iP4XJN0MLcRgS6UT
> pnQYp2FNQOqLoZTa9y3F8oGClon0ymOiEyVfbpx0s0+Ze6AaPYMzF/Y2ktc5VLJm
> xvdVrQHiJ2JBNSrr6RSoTVELgDjEv+WcXB0Tp5YOwGd1VOwtf189DiIkdOKjVR0=
> =HkUn
> -----END PGP SIGNATURE-----
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
More information about the squid-users
mailing list