commit 1ffad3105c9891c514fb332a4dad9453af6e5488
parent 47b76acc97374c3195b5706b475d550908c4d233
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 9 Jul 2007 04:32:38 +0000
10
Diffstat:
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/daemon/daemontest_post.c b/src/daemon/daemontest_post.c
@@ -132,6 +132,9 @@ static int testInternalPost() {
CURLOPT_TIMEOUT,
2L);
curl_easy_setopt(c,
+ CURLOPT_HTTP_VERSION,
+ CURL_HTTP_VERSION_1_0);
+ curl_easy_setopt(c,
CURLOPT_CONNECTTIMEOUT,
2L);
// NOTE: use of CONNECTTIMEOUT without also
@@ -203,6 +206,9 @@ static int testMultithreadedPost() {
CURLOPT_TIMEOUT,
2L);
curl_easy_setopt(c,
+ CURLOPT_HTTP_VERSION,
+ CURL_HTTP_VERSION_1_0);
+ curl_easy_setopt(c,
CURLOPT_CONNECTTIMEOUT,
2L);
// NOTE: use of CONNECTTIMEOUT without also
@@ -285,6 +291,9 @@ static int testExternalPost() {
CURLOPT_TIMEOUT,
5L);
curl_easy_setopt(c,
+ CURLOPT_HTTP_VERSION,
+ CURL_HTTP_VERSION_1_0);
+ curl_easy_setopt(c,
CURLOPT_CONNECTTIMEOUT,
5L);
// NOTE: use of CONNECTTIMEOUT without also
diff --git a/src/daemon/daemontest_put.c b/src/daemon/daemontest_put.c
@@ -165,6 +165,9 @@ static int testInternalPut() {
CURLOPT_TIMEOUT,
15L);
curl_easy_setopt(c,
+ CURLOPT_HTTP_VERSION,
+ CURL_HTTP_VERSION_1_0);
+ curl_easy_setopt(c,
CURLOPT_CONNECTTIMEOUT,
15L);
// NOTE: use of CONNECTTIMEOUT without also
@@ -244,6 +247,9 @@ static int testMultithreadedPut() {
CURLOPT_TIMEOUT,
15L);
curl_easy_setopt(c,
+ CURLOPT_HTTP_VERSION,
+ CURL_HTTP_VERSION_1_0);
+ curl_easy_setopt(c,
CURLOPT_CONNECTTIMEOUT,
15L);
// NOTE: use of CONNECTTIMEOUT without also
@@ -334,6 +340,9 @@ static int testExternalPut() {
CURLOPT_TIMEOUT,
15L);
curl_easy_setopt(c,
+ CURLOPT_HTTP_VERSION,
+ CURL_HTTP_VERSION_1_0);
+ curl_easy_setopt(c,
CURLOPT_CONNECTTIMEOUT,
15L);
// NOTE: use of CONNECTTIMEOUT without also