From 49fb1de4b76e7050fa271ddd442e406cbfc1bc4d Mon Sep 17 00:00:00 2001 From: Tomasz Kojm Date: Fri, 25 Jan 2008 16:55:51 +0000 Subject: [PATCH] advertise itself as HTTP/1.0 client git-svn: trunk@3545 --- ChangeLog | 4 ++++ freshclam/manager.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 35ef951ff..8e97a75fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Jan 25 17:35:26 CET 2008 (tk) +--------------------------------- + * freshclam/manager.c: advertise itself as HTTP/1.0 client + Fri Jan 25 17:16:53 CET 2008 (acab) ----------------------------------- * libclamunrar: same behaviour on 32bit and 64bit systems - bb#474 diff --git a/freshclam/manager.c b/freshclam/manager.c index 10952dafe..6c0b1525f 100644 --- a/freshclam/manager.c +++ b/freshclam/manager.c @@ -385,7 +385,7 @@ static struct cl_cvd *remote_cvdhead(const char *file, const char *hostname, cha #endif snprintf(cmd, sizeof(cmd), - "GET %s/%s HTTP/1.1\r\n" + "GET %s/%s HTTP/1.0\r\n" "Host: %s\r\n%s" "User-Agent: %s\r\n" "Connection: close\r\n" @@ -537,7 +537,7 @@ static int getfile(const char *srcfile, const char *destfile, const char *hostna #endif snprintf(cmd, sizeof(cmd), - "GET %s/%s HTTP/1.1\r\n" + "GET %s/%s HTTP/1.0\r\n" "Host: %s\r\n%s" "User-Agent: %s\r\n" #ifdef FRESHCLAM_NO_CACHE