diff options
Diffstat (limited to 'src/testcurl/perf_get.c')
-rw-r--r-- | src/testcurl/perf_get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c index f6d90bec..eccdef94 100644 --- a/src/testcurl/perf_get.c +++ b/src/testcurl/perf_get.c | |||
@@ -199,7 +199,7 @@ testInternalGet (int port, int poll_flag) | |||
199 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 199 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
200 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 200 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
201 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 201 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
202 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 202 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
203 | if (oneone) | 203 | if (oneone) |
204 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 204 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
205 | else | 205 | else |
@@ -262,7 +262,7 @@ testMultithreadedGet (int port, int poll_flag) | |||
262 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 262 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
263 | else | 263 | else |
264 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 264 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
265 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 265 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
266 | /* NOTE: use of CONNECTTIMEOUT without also | 266 | /* NOTE: use of CONNECTTIMEOUT without also |
267 | setting NOSIGNAL results in really weird | 267 | setting NOSIGNAL results in really weird |
268 | crashes on my system! */ | 268 | crashes on my system! */ |
@@ -321,7 +321,7 @@ testMultithreadedPoolGet (int port, int poll_flag) | |||
321 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 321 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
322 | else | 322 | else |
323 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 323 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
324 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 324 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
325 | /* NOTE: use of CONNECTTIMEOUT without also | 325 | /* NOTE: use of CONNECTTIMEOUT without also |
326 | setting NOSIGNAL results in really weird | 326 | setting NOSIGNAL results in really weird |
327 | crashes on my system!*/ | 327 | crashes on my system!*/ |
@@ -395,7 +395,7 @@ testExternalGet (int port) | |||
395 | else | 395 | else |
396 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 396 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
397 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 397 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
398 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 398 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
399 | /* NOTE: use of CONNECTTIMEOUT without also | 399 | /* NOTE: use of CONNECTTIMEOUT without also |
400 | setting NOSIGNAL results in really weird | 400 | setting NOSIGNAL results in really weird |
401 | crashes on my system! */ | 401 | crashes on my system! */ |