diff options
Diffstat (limited to 'src/testzzuf/test_put_large.c')
-rw-r--r-- | src/testzzuf/test_put_large.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testzzuf/test_put_large.c b/src/testzzuf/test_put_large.c index 40861b87..815ce77d 100644 --- a/src/testzzuf/test_put_large.c +++ b/src/testzzuf/test_put_large.c | |||
@@ -161,7 +161,7 @@ testInternalPut () | |||
161 | curl_easy_setopt (c, CURLOPT_READDATA, &pos); | 161 | curl_easy_setopt (c, CURLOPT_READDATA, &pos); |
162 | curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); | 162 | curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); |
163 | curl_easy_setopt (c, CURLOPT_INFILESIZE, (long) PUT_SIZE); | 163 | curl_easy_setopt (c, CURLOPT_INFILESIZE, (long) PUT_SIZE); |
164 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 164 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); |
165 | curl_easy_setopt (c, CURLOPT_TIMEOUT_MS, CURL_TIMEOUT); | 165 | curl_easy_setopt (c, CURLOPT_TIMEOUT_MS, CURL_TIMEOUT); |
166 | if (oneone) | 166 | if (oneone) |
167 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 167 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
@@ -171,7 +171,7 @@ testInternalPut () | |||
171 | /* NOTE: use of CONNECTTIMEOUT without also | 171 | /* NOTE: use of CONNECTTIMEOUT without also |
172 | * setting NOSIGNAL results in really weird | 172 | * setting NOSIGNAL results in really weird |
173 | * crashes on my system! */ | 173 | * crashes on my system! */ |
174 | curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); | 174 | curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L); |
175 | curl_easy_perform (c); | 175 | curl_easy_perform (c); |
176 | curl_easy_cleanup (c); | 176 | curl_easy_cleanup (c); |
177 | } | 177 | } |
@@ -213,7 +213,7 @@ testMultithreadedPut () | |||
213 | curl_easy_setopt (c, CURLOPT_READDATA, &pos); | 213 | curl_easy_setopt (c, CURLOPT_READDATA, &pos); |
214 | curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); | 214 | curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); |
215 | curl_easy_setopt (c, CURLOPT_INFILESIZE, (long) PUT_SIZE); | 215 | curl_easy_setopt (c, CURLOPT_INFILESIZE, (long) PUT_SIZE); |
216 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 216 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); |
217 | curl_easy_setopt (c, CURLOPT_TIMEOUT_MS, CURL_TIMEOUT); | 217 | curl_easy_setopt (c, CURLOPT_TIMEOUT_MS, CURL_TIMEOUT); |
218 | if (oneone) | 218 | if (oneone) |
219 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 219 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
@@ -223,7 +223,7 @@ testMultithreadedPut () | |||
223 | /* NOTE: use of CONNECTTIMEOUT without also | 223 | /* NOTE: use of CONNECTTIMEOUT without also |
224 | * setting NOSIGNAL results in really weird | 224 | * setting NOSIGNAL results in really weird |
225 | * crashes on my system! */ | 225 | * crashes on my system! */ |
226 | curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); | 226 | curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L); |
227 | curl_easy_perform (c); | 227 | curl_easy_perform (c); |
228 | curl_easy_cleanup (c); | 228 | curl_easy_cleanup (c); |
229 | } | 229 | } |
@@ -284,7 +284,7 @@ testExternalPut () | |||
284 | curl_easy_setopt (c, CURLOPT_READDATA, &pos); | 284 | curl_easy_setopt (c, CURLOPT_READDATA, &pos); |
285 | curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); | 285 | curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); |
286 | curl_easy_setopt (c, CURLOPT_INFILESIZE, (long) PUT_SIZE); | 286 | curl_easy_setopt (c, CURLOPT_INFILESIZE, (long) PUT_SIZE); |
287 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 287 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1L); |
288 | curl_easy_setopt (c, CURLOPT_TIMEOUT_MS, CURL_TIMEOUT); | 288 | curl_easy_setopt (c, CURLOPT_TIMEOUT_MS, CURL_TIMEOUT); |
289 | if (oneone) | 289 | if (oneone) |
290 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 290 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
@@ -294,7 +294,7 @@ testExternalPut () | |||
294 | /* NOTE: use of CONNECTTIMEOUT without also | 294 | /* NOTE: use of CONNECTTIMEOUT without also |
295 | * setting NOSIGNAL results in really weird | 295 | * setting NOSIGNAL results in really weird |
296 | * crashes on my system! */ | 296 | * crashes on my system! */ |
297 | curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); | 297 | curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1L); |
298 | 298 | ||
299 | 299 | ||
300 | 300 | ||