Hello,
For freshclam 0.81 and http conexion (behind a proxy) you get this
error.
Reading CVD header (main.cvd): ERROR: Malformed CVD header detected.
ERROR: Can't read main.cvd header from db.fr.clamav.net
Digging thru the CVS this problem is corrected, and this is a small
patch to help those who have the same problem (without waiting for the
next version).
HTH.
--
didier.georgieff <[EMAIL PROTECTED]>
DIDSIT du Bas-Rhin
--- freshclam/manager.c_original 2005-02-03 10:31:08.258230672 +0100
+++ freshclam/manager.c 2005-02-03 10:45:07.586633360 +0100
@@ -567,13 +567,13 @@ struct cl_cvd *remote_cvdhead(const char
return NULL;
}
- if((strstr(buffer, "HTTP/1.1 404")) != NULL) {
+ if((strstr(buffer, "HTTP/1.1 404")) != NULL || (strstr(buffer, "HTTP/1.0
404")) != NULL) {
mprintf("@CVD file not found on remote server\n");
return NULL;
}
/* check whether the resource is up-to-date */
- if((strstr(buffer, "HTTP/1.1 304")) != NULL) {
+ if((strstr(buffer, "HTTP/1.1 304")) != NULL || (strstr(buffer, "HTTP/1.0
304")) != NULL) {
*ims = 0;
mprintf("OK (IMS)\n");
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users