aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/daemontest_large_put.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-08 13:02:40 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-08 13:02:40 +0000
commitd460042ef6dd4b77fcba7d2a6ae421b6a8399ea4 (patch)
tree24f8cd59919a1fb4ab95288a573ab4a46ce19130 /src/testcurl/daemontest_large_put.c
parent704717f23fed7e4f70f6d5a2f9e1d9c89f6c39d7 (diff)
downloadlibmicrohttpd-d460042ef6dd4b77fcba7d2a6ae421b6a8399ea4.tar.gz
libmicrohttpd-d460042ef6dd4b77fcba7d2a6ae421b6a8399ea4.zip
increase timeouts to escape problems with time_wait
Diffstat (limited to 'src/testcurl/daemontest_large_put.c')
-rw-r--r--src/testcurl/daemontest_large_put.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/daemontest_large_put.c b/src/testcurl/daemontest_large_put.c
index 048409f9..4b9ae5fc 100644
--- a/src/testcurl/daemontest_large_put.c
+++ b/src/testcurl/daemontest_large_put.c
@@ -166,7 +166,7 @@ testInternalPut ()
166 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 166 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
167 else 167 else
168 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 168 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
169 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 169 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
170 // NOTE: use of CONNECTTIMEOUT without also 170 // NOTE: use of CONNECTTIMEOUT without also
171 // setting NOSIGNAL results in really weird 171 // setting NOSIGNAL results in really weird
172 // crashes on my system! 172 // crashes on my system!
@@ -224,7 +224,7 @@ testMultithreadedPut ()
224 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 224 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
225 else 225 else
226 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 226 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
227 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 227 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
228 // NOTE: use of CONNECTTIMEOUT without also 228 // NOTE: use of CONNECTTIMEOUT without also
229 // setting NOSIGNAL results in really weird 229 // setting NOSIGNAL results in really weird
230 // crashes on my system! 230 // crashes on my system!
@@ -286,7 +286,7 @@ testMultithreadedPoolPut ()
286 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 286 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
287 else 287 else
288 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 288 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
289 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 289 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
290 // NOTE: use of CONNECTTIMEOUT without also 290 // NOTE: use of CONNECTTIMEOUT without also
291 // setting NOSIGNAL results in really weird 291 // setting NOSIGNAL results in really weird
292 // crashes on my system! 292 // crashes on my system!
@@ -357,7 +357,7 @@ testExternalPut ()
357 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 357 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
358 else 358 else
359 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 359 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
360 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 360 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L);
361 // NOTE: use of CONNECTTIMEOUT without also 361 // NOTE: use of CONNECTTIMEOUT without also
362 // setting NOSIGNAL results in really weird 362 // setting NOSIGNAL results in really weird
363 // crashes on my system! 363 // crashes on my system!