Steve Wilson Jr wrote:
I have the same problem with that PDF on 2.6S4 on fedora 6. It won't even begin 
to download. File or website problems?

No. I could download the complete PDF file in correct size was 82,831 bytes directly from Internet bypassing squid-cache, so it should not be a file or website problem.

Regards,   John Mok



-----Original Message-----
From: John Mok [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 9:31 AM
To: [email protected]
Subject: [squid-users] Corruption problem of download files from squid

Hi,

I am using Squid STABLE4 on FC3 with common configurations in squid.conf :-

http_port 8080
acl QUERY urlpath_regex cgi-bin \? \.asp asp .asp \.jsp jsp .jsp \.dll .dll 
servlet Servlet .do no_cache deny QUERY maximum_object_size 716800 KB ....
refresh_pattern -i windowsupdate.com/.*\.(cab|exe|psf) 4320 100% 43200 reload-into-ims
refresh_pattern -i download.microsoft.com/.*\.(cab|exe|psf) 4320 100% 43200 reload-into-ims ....

The squid proxy server works well most of the time. However, when I tried to 
download a PDF from the following :-

http://www.citizenwatch.com/COA/English/settingsresults.asp?caliber=7871

I found that the PDF file was corrupted that the file size was less than it 
should be. The complete file size was 82,831 bytes when downloaded directly 
from Internet bypassing squid proxy, but the download file via squid proxy was 
only 78,784 bytes. Moreover, the result file size varied every time the file 
was downloaded, e.g. the file sizes were 31536 bytes, 79320 bytes etc.

I tried with IE6 SP2 and Firefox 1.5.0.7/2.0, and Squid SABLE5, and the same 
problem remained. I hope someone could advise what went wrong, and how to fix 
the problem. The following are the access, cache and store logs.

Thanks a lot.

John Mok


Reply via email to