diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-07-09 04:32:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-07-09 04:32:38 +0000 |
commit | 1ffad3105c9891c514fb332a4dad9453af6e5488 (patch) | |
tree | ef370badb1649aa0f93c31b4f04e5e387c7d8dab /src/daemon/daemontest_post.c | |
parent | 47b76acc97374c3195b5706b475d550908c4d233 (diff) | |
download | libmicrohttpd-1ffad3105c9891c514fb332a4dad9453af6e5488.tar.gz libmicrohttpd-1ffad3105c9891c514fb332a4dad9453af6e5488.zip |
10
Diffstat (limited to 'src/daemon/daemontest_post.c')
-rw-r--r-- | src/daemon/daemontest_post.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/daemon/daemontest_post.c b/src/daemon/daemontest_post.c index 585d633b..f9d697be 100644 --- a/src/daemon/daemontest_post.c +++ b/src/daemon/daemontest_post.c | |||
@@ -132,6 +132,9 @@ static int testInternalPost() { | |||
132 | CURLOPT_TIMEOUT, | 132 | CURLOPT_TIMEOUT, |
133 | 2L); | 133 | 2L); |
134 | curl_easy_setopt(c, | 134 | curl_easy_setopt(c, |
135 | CURLOPT_HTTP_VERSION, | ||
136 | CURL_HTTP_VERSION_1_0); | ||
137 | curl_easy_setopt(c, | ||
135 | CURLOPT_CONNECTTIMEOUT, | 138 | CURLOPT_CONNECTTIMEOUT, |
136 | 2L); | 139 | 2L); |
137 | // NOTE: use of CONNECTTIMEOUT without also | 140 | // NOTE: use of CONNECTTIMEOUT without also |
@@ -203,6 +206,9 @@ static int testMultithreadedPost() { | |||
203 | CURLOPT_TIMEOUT, | 206 | CURLOPT_TIMEOUT, |
204 | 2L); | 207 | 2L); |
205 | curl_easy_setopt(c, | 208 | curl_easy_setopt(c, |
209 | CURLOPT_HTTP_VERSION, | ||
210 | CURL_HTTP_VERSION_1_0); | ||
211 | curl_easy_setopt(c, | ||
206 | CURLOPT_CONNECTTIMEOUT, | 212 | CURLOPT_CONNECTTIMEOUT, |
207 | 2L); | 213 | 2L); |
208 | // NOTE: use of CONNECTTIMEOUT without also | 214 | // NOTE: use of CONNECTTIMEOUT without also |
@@ -285,6 +291,9 @@ static int testExternalPost() { | |||
285 | CURLOPT_TIMEOUT, | 291 | CURLOPT_TIMEOUT, |
286 | 5L); | 292 | 5L); |
287 | curl_easy_setopt(c, | 293 | curl_easy_setopt(c, |
294 | CURLOPT_HTTP_VERSION, | ||
295 | CURL_HTTP_VERSION_1_0); | ||
296 | curl_easy_setopt(c, | ||
288 | CURLOPT_CONNECTTIMEOUT, | 297 | CURLOPT_CONNECTTIMEOUT, |
289 | 5L); | 298 | 5L); |
290 | // NOTE: use of CONNECTTIMEOUT without also | 299 | // NOTE: use of CONNECTTIMEOUT without also |