diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-08 13:02:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-08 13:02:40 +0000 |
commit | d460042ef6dd4b77fcba7d2a6ae421b6a8399ea4 (patch) | |
tree | 24f8cd59919a1fb4ab95288a573ab4a46ce19130 /src/testcurl/daemontest_get.c | |
parent | 704717f23fed7e4f70f6d5a2f9e1d9c89f6c39d7 (diff) | |
download | libmicrohttpd-d460042ef6dd4b77fcba7d2a6ae421b6a8399ea4.tar.gz libmicrohttpd-d460042ef6dd4b77fcba7d2a6ae421b6a8399ea4.zip |
increase timeouts to escape problems with time_wait
Diffstat (limited to 'src/testcurl/daemontest_get.c')
-rw-r--r-- | src/testcurl/daemontest_get.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcurl/daemontest_get.c b/src/testcurl/daemontest_get.c index 76e07b1b..d780028f 100644 --- a/src/testcurl/daemontest_get.c +++ b/src/testcurl/daemontest_get.c | |||
@@ -118,7 +118,7 @@ testInternalGet (int poll_flag) | |||
118 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 118 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
119 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 119 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
120 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 120 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
121 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 121 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
122 | if (oneone) | 122 | if (oneone) |
123 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 123 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
124 | else | 124 | else |
@@ -171,7 +171,7 @@ testMultithreadedGet (int poll_flag) | |||
171 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 171 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
172 | else | 172 | else |
173 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 173 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
174 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 174 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
175 | /* NOTE: use of CONNECTTIMEOUT without also | 175 | /* NOTE: use of CONNECTTIMEOUT without also |
176 | setting NOSIGNAL results in really weird | 176 | setting NOSIGNAL results in really weird |
177 | crashes on my system! */ | 177 | crashes on my system! */ |
@@ -221,7 +221,7 @@ testMultithreadedPoolGet (int poll_flag) | |||
221 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 221 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
222 | else | 222 | else |
223 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 223 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
224 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 224 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
225 | /* NOTE: use of CONNECTTIMEOUT without also | 225 | /* NOTE: use of CONNECTTIMEOUT without also |
226 | setting NOSIGNAL results in really weird | 226 | setting NOSIGNAL results in really weird |
227 | crashes on my system!*/ | 227 | crashes on my system!*/ |
@@ -280,7 +280,7 @@ testExternalGet () | |||
280 | else | 280 | else |
281 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 281 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
282 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 282 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
283 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 283 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
284 | /* NOTE: use of CONNECTTIMEOUT without also | 284 | /* NOTE: use of CONNECTTIMEOUT without also |
285 | setting NOSIGNAL results in really weird | 285 | setting NOSIGNAL results in really weird |
286 | crashes on my system! */ | 286 | crashes on my system! */ |
@@ -412,7 +412,7 @@ testUnknownPortGet (int poll_flag) | |||
412 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 412 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
413 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 413 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
414 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 414 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
415 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 415 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
416 | if (oneone) | 416 | if (oneone) |
417 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 417 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
418 | else | 418 | else |