aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_put_chunked.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_put_chunked.c')
-rw-r--r--src/testcurl/test_put_chunked.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/testcurl/test_put_chunked.c b/src/testcurl/test_put_chunked.c
index 017bff99..9f875a40 100644
--- a/src/testcurl/test_put_chunked.c
+++ b/src/testcurl/test_put_chunked.c
@@ -175,14 +175,14 @@ testInternalPut ()
175 /* 175 /*
176 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 176 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
177 */ 177 */
178 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 178 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
179 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 179 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
180 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 180 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
181 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 181 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
182 /* NOTE: use of CONNECTTIMEOUT without also 182 /* NOTE: use of CONNECTTIMEOUT without also
183 * setting NOSIGNAL results in really weird 183 * setting NOSIGNAL results in really weird
184 * crashes on my system! */ 184 * crashes on my system! */
185 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 185 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
186 if (CURLE_OK != (errornum = curl_easy_perform (c))) 186 if (CURLE_OK != (errornum = curl_easy_perform (c)))
187 { 187 {
188 fprintf (stderr, 188 fprintf (stderr,
@@ -246,14 +246,14 @@ testMultithreadedPut ()
246 /* 246 /*
247 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 247 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
248 */ 248 */
249 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 249 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
250 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 250 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
251 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 251 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
252 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 252 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
253 /* NOTE: use of CONNECTTIMEOUT without also 253 /* NOTE: use of CONNECTTIMEOUT without also
254 * setting NOSIGNAL results in really weird 254 * setting NOSIGNAL results in really weird
255 * crashes on my system! */ 255 * crashes on my system! */
256 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 256 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
257 if (CURLE_OK != (errornum = curl_easy_perform (c))) 257 if (CURLE_OK != (errornum = curl_easy_perform (c)))
258 { 258 {
259 fprintf (stderr, 259 fprintf (stderr,
@@ -319,14 +319,14 @@ testMultithreadedPoolPut ()
319 /* 319 /*
320 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 320 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
321 */ 321 */
322 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 322 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
323 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 323 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
324 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 324 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
325 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 325 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
326 /* NOTE: use of CONNECTTIMEOUT without also 326 /* NOTE: use of CONNECTTIMEOUT without also
327 * setting NOSIGNAL results in really weird 327 * setting NOSIGNAL results in really weird
328 * crashes on my system! */ 328 * crashes on my system! */
329 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 329 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
330 if (CURLE_OK != (errornum = curl_easy_perform (c))) 330 if (CURLE_OK != (errornum = curl_easy_perform (c)))
331 { 331 {
332 fprintf (stderr, 332 fprintf (stderr,
@@ -407,14 +407,14 @@ testExternalPut ()
407 /* 407 /*
408 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 408 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
409 */ 409 */
410 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 410 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L);
411 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); 411 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
412 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 412 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
413 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 413 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
414 /* NOTE: use of CONNECTTIMEOUT without also 414 /* NOTE: use of CONNECTTIMEOUT without also
415 * setting NOSIGNAL results in really weird 415 * setting NOSIGNAL results in really weird
416 * crashes on my system! */ 416 * crashes on my system! */
417 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 417 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L);
418 418
419 419
420 multi = curl_multi_init (); 420 multi = curl_multi_init ();