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_chunked.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_chunked.c')
-rw-r--r-- | src/testcurl/daemontest_get_chunked.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testcurl/daemontest_get_chunked.c b/src/testcurl/daemontest_get_chunked.c index 9d7f3c88..d80de8de 100644 --- a/src/testcurl/daemontest_get_chunked.c +++ b/src/testcurl/daemontest_get_chunked.c | |||
@@ -167,7 +167,7 @@ testInternalGet () | |||
167 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); | 167 | curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); |
168 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 168 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
169 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 169 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
170 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 170 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
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 | // NOTE: use of CONNECTTIMEOUT without also | 172 | // NOTE: use of CONNECTTIMEOUT without also |
173 | // setting NOSIGNAL results in really weird | 173 | // setting NOSIGNAL results in really weird |
@@ -210,7 +210,7 @@ testMultithreadedGet () | |||
210 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 210 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
211 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 211 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
212 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 212 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
213 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 213 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
214 | // NOTE: use of CONNECTTIMEOUT without also | 214 | // NOTE: use of CONNECTTIMEOUT without also |
215 | // setting NOSIGNAL results in really weird | 215 | // setting NOSIGNAL results in really weird |
216 | // crashes on my system! | 216 | // crashes on my system! |
@@ -253,7 +253,7 @@ testMultithreadedPoolGet () | |||
253 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 253 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
254 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); | 254 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
255 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 255 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
256 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); | 256 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 150L); |
257 | // NOTE: use of CONNECTTIMEOUT without also | 257 | // NOTE: use of CONNECTTIMEOUT without also |
258 | // setting NOSIGNAL results in really weird | 258 | // setting NOSIGNAL results in really weird |
259 | // crashes on my system! | 259 | // crashes on my system! |