Re: range request problem

From: Radu Greab <radu@dont-contact.us>
Date: Tue, 9 Nov 1999 16:08:37 +0200 (EET)

Evren Yurtesen writes:
> Ok so if the range request feature is not working
> then why is it in the configuration file?

It works. However when a web server doesn't respond with a content
range to a range request (it sends the whole file) squid fetches the
whole object but gives to the client only the requested range. That's
why your client waits until the first 7 MB of data are downloaded.

> If the web site is sending the whole file even
> though I want a part of it then how can I solve
> this problem with a patch only? Because then the
> problem is with the web server I am connecting to.
> So I can't solve the problem with a local configuration
> change. Right?

I understood that your question was how to make squid start sending
data to the client right away, wasn't it? Henrik's patch makes squid
send the object as is given by the server so your client wouldn't have
to wait.

Of course, it will be the whole object but that's not squid
fault, it is the web server's fault because it advertises itself as
supporting range requests but it doesn't and the client is tricked in
thinking that it can make range requests.

>
> Also I am using 2.2 Stable 5, can I apply that patch?
> (and I do not have link to Henrik's web page in my bookmarks in
> this machine I am using right now)

Yes, you can apply the patch. Henrik's squid page is at
http://hem.passagen.se/hno/squid/.

Hope that helps,
Radu Greab
Received on Tue Nov 09 1999 - 07:18:46 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT