diff options
Diffstat (limited to 'src/daemon/daemontest_post_loop.c')
-rw-r--r-- | src/daemon/daemontest_post_loop.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/daemon/daemontest_post_loop.c b/src/daemon/daemontest_post_loop.c index feedcd8c..65689dba 100644 --- a/src/daemon/daemontest_post_loop.c +++ b/src/daemon/daemontest_post_loop.c | |||
@@ -128,12 +128,12 @@ testInternalPost () | |||
128 | curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); | 128 | curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); |
129 | curl_easy_setopt (c, CURLOPT_POST, 1L); | 129 | curl_easy_setopt (c, CURLOPT_POST, 1L); |
130 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 130 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
131 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); | 131 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
132 | if (oneone) | 132 | if (oneone) |
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 | else | 134 | else |
135 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 135 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
136 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); | 136 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); |
137 | // NOTE: use of CONNECTTIMEOUT without also | 137 | // NOTE: use of CONNECTTIMEOUT without also |
138 | // setting NOSIGNAL results in really weird | 138 | // setting NOSIGNAL results in really weird |
139 | // crashes on my system! | 139 | // crashes on my system! |
@@ -192,12 +192,12 @@ testMultithreadedPost () | |||
192 | curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); | 192 | curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); |
193 | curl_easy_setopt (c, CURLOPT_POST, 1L); | 193 | curl_easy_setopt (c, CURLOPT_POST, 1L); |
194 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 194 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
195 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); | 195 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
196 | if (oneone) | 196 | if (oneone) |
197 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 197 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
198 | else | 198 | else |
199 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 199 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
200 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); | 200 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); |
201 | // NOTE: use of CONNECTTIMEOUT without also | 201 | // NOTE: use of CONNECTTIMEOUT without also |
202 | // setting NOSIGNAL results in really weird | 202 | // setting NOSIGNAL results in really weird |
203 | // crashes on my system! | 203 | // crashes on my system! |
@@ -275,12 +275,12 @@ testExternalPost () | |||
275 | curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); | 275 | curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); |
276 | curl_easy_setopt (c, CURLOPT_POST, 1L); | 276 | curl_easy_setopt (c, CURLOPT_POST, 1L); |
277 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); | 277 | curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); |
278 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 5L); | 278 | curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L); |
279 | if (oneone) | 279 | if (oneone) |
280 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); | 280 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); |
281 | else | 281 | else |
282 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); | 282 | curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); |
283 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 5L); | 283 | curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); |
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! |