I had a freshclam update problem with that like below.

 # freshclam 
 ClamAV update process started at Tue Oct 19 09:35:19 2004
 main.cvd is up to date (version: 27, sigs: 23982, f-level: 2, builder: tomek)
 Connecting via 127.0.0.1
 Reading CVD header (daily.cvd): OK
 Downloading daily.cvd [*]
 ERROR: Verification: Broken or not a CVD file
 Giving up...

I couldn't find the reason for a long time. With wget, I can get CVD files 
properly. Finally I setted printf at freshclam/manager.c to see recieving 
data. Then I found the proxy uses chunked transfer coding to send data.  
Delegate seems to use chunked transfer coding for HTTP/1.1 client.

I changed delegate setting no to use chunked transfer coding. Then I succeed  
to freshclam.

According to RFC 2616, 
    All HTTP/1.1 applications that receive entities MUST accept the
   "chunked" transfer-coding (section 3.6), thus allowing this mechanism
   to be used for messages when the message length cannot be determined
   in advance.

So, please change freshclam to send http request as HTTP/1.0 or implement 
accepting chunked transfer-coding.

-- 
-- shivaken
antshell: Ant command line front end
http://www.antshell.org


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to