diff options
Diffstat (limited to 'src/daemon/daemontest_put.c')
-rw-r--r-- | src/daemon/daemontest_put.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/daemon/daemontest_put.c b/src/daemon/daemontest_put.c index 5fcae8b7..ca64688b 100644 --- a/src/daemon/daemontest_put.c +++ b/src/daemon/daemontest_put.c | |||
@@ -165,6 +165,9 @@ static int testInternalPut() { | |||
165 | CURLOPT_TIMEOUT, | 165 | CURLOPT_TIMEOUT, |
166 | 15L); | 166 | 15L); |
167 | curl_easy_setopt(c, | 167 | curl_easy_setopt(c, |
168 | CURLOPT_HTTP_VERSION, | ||
169 | CURL_HTTP_VERSION_1_0); | ||
170 | curl_easy_setopt(c, | ||
168 | CURLOPT_CONNECTTIMEOUT, | 171 | CURLOPT_CONNECTTIMEOUT, |
169 | 15L); | 172 | 15L); |
170 | // NOTE: use of CONNECTTIMEOUT without also | 173 | // NOTE: use of CONNECTTIMEOUT without also |
@@ -244,6 +247,9 @@ static int testMultithreadedPut() { | |||
244 | CURLOPT_TIMEOUT, | 247 | CURLOPT_TIMEOUT, |
245 | 15L); | 248 | 15L); |
246 | curl_easy_setopt(c, | 249 | curl_easy_setopt(c, |
250 | CURLOPT_HTTP_VERSION, | ||
251 | CURL_HTTP_VERSION_1_0); | ||
252 | curl_easy_setopt(c, | ||
247 | CURLOPT_CONNECTTIMEOUT, | 253 | CURLOPT_CONNECTTIMEOUT, |
248 | 15L); | 254 | 15L); |
249 | // NOTE: use of CONNECTTIMEOUT without also | 255 | // NOTE: use of CONNECTTIMEOUT without also |
@@ -334,6 +340,9 @@ static int testExternalPut() { | |||
334 | CURLOPT_TIMEOUT, | 340 | CURLOPT_TIMEOUT, |
335 | 15L); | 341 | 15L); |
336 | curl_easy_setopt(c, | 342 | curl_easy_setopt(c, |
343 | CURLOPT_HTTP_VERSION, | ||
344 | CURL_HTTP_VERSION_1_0); | ||
345 | curl_easy_setopt(c, | ||
337 | CURLOPT_CONNECTTIMEOUT, | 346 | CURLOPT_CONNECTTIMEOUT, |
338 | 15L); | 347 | 15L); |
339 | // NOTE: use of CONNECTTIMEOUT without also | 348 | // NOTE: use of CONNECTTIMEOUT without also |