git-svn: trunk@3545
Tomasz Kojm authored on 2008/01/26 01:55:51... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Fri Jan 25 17:35:26 CET 2008 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * freshclam/manager.c: advertise itself as HTTP/1.0 client |
|
4 |
+ |
|
1 | 5 |
Fri Jan 25 17:16:53 CET 2008 (acab) |
2 | 6 |
----------------------------------- |
3 | 7 |
* libclamunrar: same behaviour on 32bit and 64bit systems - bb#474 |
... | ... |
@@ -385,7 +385,7 @@ static struct cl_cvd *remote_cvdhead(const char *file, const char *hostname, cha |
385 | 385 |
#endif |
386 | 386 |
|
387 | 387 |
snprintf(cmd, sizeof(cmd), |
388 |
- "GET %s/%s HTTP/1.1\r\n" |
|
388 |
+ "GET %s/%s HTTP/1.0\r\n" |
|
389 | 389 |
"Host: %s\r\n%s" |
390 | 390 |
"User-Agent: %s\r\n" |
391 | 391 |
"Connection: close\r\n" |
... | ... |
@@ -537,7 +537,7 @@ static int getfile(const char *srcfile, const char *destfile, const char *hostna |
537 | 537 |
#endif |
538 | 538 |
|
539 | 539 |
snprintf(cmd, sizeof(cmd), |
540 |
- "GET %s/%s HTTP/1.1\r\n" |
|
540 |
+ "GET %s/%s HTTP/1.0\r\n" |
|
541 | 541 |
"Host: %s\r\n%s" |
542 | 542 |
"User-Agent: %s\r\n" |
543 | 543 |
#ifdef FRESHCLAM_NO_CACHE |