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_iplimit.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_iplimit.c')
-rw-r--r-- | src/testcurl/daemontest_iplimit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcurl/daemontest_iplimit.c b/src/testcurl/daemontest_iplimit.c index 72a46055..0b2b9b6c 100644 --- a/src/testcurl/daemontest_iplimit.c +++ b/src/testcurl/daemontest_iplimit.c | |||
@@ -131,7 +131,7 @@ testMultithreadedGet () | |||
131 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 131 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
132 | curl_easy_setopt (c, CURLOPT_FORBID_REUSE, 0L); | 132 | curl_easy_setopt (c, CURLOPT_FORBID_REUSE, 0L); |
133 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 133 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
134 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 134 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
135 | // NOTE: use of CONNECTTIMEOUT without also | 135 | // NOTE: use of CONNECTTIMEOUT without also |
136 | // setting NOSIGNAL results in really weird | 136 | // setting NOSIGNAL results in really weird |
137 | // crashes on my system! | 137 | // crashes on my system! |
@@ -229,7 +229,7 @@ testMultithreadedPoolGet () | |||
229 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 229 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
230 | curl_easy_setopt (c, CURLOPT_FORBID_REUSE, 0L); | 230 | curl_easy_setopt (c, CURLOPT_FORBID_REUSE, 0L); |
231 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 231 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
232 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 232 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
233 | // NOTE: use of CONNECTTIMEOUT without also | 233 | // NOTE: use of CONNECTTIMEOUT without also |
234 | // setting NOSIGNAL results in really weird | 234 | // setting NOSIGNAL results in really weird |
235 | // crashes on my system! | 235 | // crashes on my system! |