aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_large_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_large_put.c')
-rw-r--r--src/testcurl/test_large_put.c37
1 files changed, 17 insertions, 20 deletions
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
index 9c26adbd..b00d0e1a 100644
--- a/src/testcurl/test_large_put.c
+++ b/src/testcurl/test_large_put.c
@@ -365,11 +365,11 @@ testPutInternalThread (unsigned int add_flag)
365 (long) 150)) || 365 (long) 150)) ||
366 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT, 366 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT,
367 (long) 150)) || 367 (long) 150)) ||
368 ((oneone) ? 368 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION,
369 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 369 (oneone) ?
370 CURL_HTTP_VERSION_1_1)) : 370 CURL_HTTP_VERSION_1_1 :
371 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 371 CURL_HTTP_VERSION_1_0)))
372 CURL_HTTP_VERSION_1_0)))) 372
373 { 373 {
374 fprintf (stderr, "curl_easy_setopt() failed.\n"); 374 fprintf (stderr, "curl_easy_setopt() failed.\n");
375 externalErrorExit (); 375 externalErrorExit ();
@@ -471,11 +471,10 @@ testPutThreadPerConn (unsigned int add_flag)
471 (long) 150)) || 471 (long) 150)) ||
472 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT, 472 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT,
473 (long) 150)) || 473 (long) 150)) ||
474 ((oneone) ? 474 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION,
475 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 475 (oneone) ?
476 CURL_HTTP_VERSION_1_1)) : 476 CURL_HTTP_VERSION_1_1 :
477 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 477 CURL_HTTP_VERSION_1_0)))
478 CURL_HTTP_VERSION_1_0))))
479 { 478 {
480 fprintf (stderr, "curl_easy_setopt() failed.\n"); 479 fprintf (stderr, "curl_easy_setopt() failed.\n");
481 externalErrorExit (); 480 externalErrorExit ();
@@ -577,11 +576,10 @@ testPutThreadPool (unsigned int add_flag)
577 (long) 150)) || 576 (long) 150)) ||
578 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT, 577 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT,
579 (long) 150)) || 578 (long) 150)) ||
580 ((oneone) ? 579 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION,
581 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 580 (oneone) ?
582 CURL_HTTP_VERSION_1_1)) : 581 CURL_HTTP_VERSION_1_1 :
583 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 582 CURL_HTTP_VERSION_1_0)))
584 CURL_HTTP_VERSION_1_0))))
585 { 583 {
586 fprintf (stderr, "curl_easy_setopt() failed.\n"); 584 fprintf (stderr, "curl_easy_setopt() failed.\n");
587 externalErrorExit (); 585 externalErrorExit ();
@@ -689,11 +687,10 @@ testPutExternal (void)
689 (long) 150)) || 687 (long) 150)) ||
690 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT, 688 (CURLE_OK != curl_easy_setopt (c, CURLOPT_TIMEOUT,
691 (long) 150)) || 689 (long) 150)) ||
692 ((oneone) ? 690 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION,
693 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 691 (oneone) ?
694 CURL_HTTP_VERSION_1_1)) : 692 CURL_HTTP_VERSION_1_1 :
695 (CURLE_OK != curl_easy_setopt (c, CURLOPT_HTTP_VERSION, 693 CURL_HTTP_VERSION_1_0)))
696 CURL_HTTP_VERSION_1_0))))
697 { 694 {
698 fprintf (stderr, "curl_easy_setopt() failed.\n"); 695 fprintf (stderr, "curl_easy_setopt() failed.\n");
699 externalErrorExit (); 696 externalErrorExit ();