aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_timeout.c')
-rw-r--r--src/testcurl/test_timeout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testcurl/test_timeout.c b/src/testcurl/test_timeout.c
index 15b46eab..7621cfd1 100644
--- a/src/testcurl/test_timeout.c
+++ b/src/testcurl/test_timeout.c
@@ -217,9 +217,9 @@ testWithoutTimeout ()
217 else 217 else
218 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 218 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
219 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 219 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
220 // NOTE: use of CONNECTTIMEOUT without also 220 /* NOTE: use of CONNECTTIMEOUT without also
221 // setting NOSIGNAL results in really weird 221 * setting NOSIGNAL results in really weird
222 // crashes on my system! 222 * crashes on my system! */
223 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 223 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
224 if (CURLE_OK != (errornum = curl_easy_perform (c))) 224 if (CURLE_OK != (errornum = curl_easy_perform (c)))
225 { 225 {
@@ -291,9 +291,9 @@ testWithTimeout ()
291 else 291 else
292 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 292 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
293 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); 293 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
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, 1);
298 if (CURLE_OK != (errornum = curl_easy_perform (c))) 298 if (CURLE_OK != (errornum = curl_easy_perform (c)))
299 { 299 {