aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-12-17 02:53:04 +0000
committerChristian Grothoff <christian@grothoff.org>2007-12-17 02:53:04 +0000
commite787fde83a61e3f9290c589139b657c7c414201c (patch)
tree809cf7aecf80228e104d0bdf1eca19a10283ac50
parent3d3ba316dfb99e6a4aa998e33e2fb24662db5e4c (diff)
downloadlibmicrohttpd-e787fde83a61e3f9290c589139b657c7c414201c.tar.gz
libmicrohttpd-e787fde83a61e3f9290c589139b657c7c414201c.zip
increase timeouts
-rw-r--r--src/daemon/daemontest_get.c6
-rw-r--r--src/daemon/daemontest_long_header.c8
-rw-r--r--src/daemon/daemontest_post.c12
-rw-r--r--src/daemon/daemontest_post_loop.c12
-rw-r--r--src/daemon/daemontest_postform.c12
-rw-r--r--src/daemon/daemontest_put.c6
-rw-r--r--src/daemon/daemontest_put_chunked.c6
7 files changed, 31 insertions, 31 deletions
diff --git a/src/daemon/daemontest_get.c b/src/daemon/daemontest_get.c
index 3f0b36ba..c6c63fd8 100644
--- a/src/daemon/daemontest_get.c
+++ b/src/daemon/daemontest_get.c
@@ -19,7 +19,7 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file daemontest1.c 22 * @file daemontest_get.c
23 * @brief Testcase for libmicrohttpd GET operations 23 * @brief Testcase for libmicrohttpd GET operations
24 * TODO: test parsing of query 24 * TODO: test parsing of query
25 * @author Christian Grothoff 25 * @author Christian Grothoff
@@ -101,8 +101,8 @@ testInternalGet ()
101 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 101 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
102 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 102 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
103 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 103 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
104 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 104 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
105 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 105 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
106 if (oneone) 106 if (oneone)
107 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 107 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
108 else 108 else
diff --git a/src/daemon/daemontest_long_header.c b/src/daemon/daemontest_long_header.c
index 22368e9c..385b9776 100644
--- a/src/daemon/daemontest_long_header.c
+++ b/src/daemon/daemontest_long_header.c
@@ -118,8 +118,8 @@ testLongUrlGet ()
118 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 118 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
119 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 119 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
120 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 120 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
121 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 121 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
122 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 122 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
123 if (oneone) 123 if (oneone)
124 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 124 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
125 else 125 else
@@ -188,8 +188,8 @@ testLongHeaderGet ()
188 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer); 188 curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, &copyBuffer);
189 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc); 189 curl_easy_setopt (c, CURLOPT_WRITEDATA, &cbc);
190 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 190 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
191 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 191 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
192 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 192 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
193 if (oneone) 193 if (oneone)
194 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 194 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
195 else 195 else
diff --git a/src/daemon/daemontest_post.c b/src/daemon/daemontest_post.c
index e7ac257a..335377e6 100644
--- a/src/daemon/daemontest_post.c
+++ b/src/daemon/daemontest_post.c
@@ -150,12 +150,12 @@ testInternalPost ()
150 curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); 150 curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA));
151 curl_easy_setopt (c, CURLOPT_POST, 1L); 151 curl_easy_setopt (c, CURLOPT_POST, 1L);
152 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 152 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
153 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 153 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
154 if (oneone) 154 if (oneone)
155 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 155 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
156 else 156 else
157 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 157 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
158 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 158 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
159 // NOTE: use of CONNECTTIMEOUT without also 159 // NOTE: use of CONNECTTIMEOUT without also
160 // setting NOSIGNAL results in really weird 160 // setting NOSIGNAL results in really weird
161 // crashes on my system! 161 // crashes on my system!
@@ -202,12 +202,12 @@ testMultithreadedPost ()
202 curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); 202 curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA));
203 curl_easy_setopt (c, CURLOPT_POST, 1L); 203 curl_easy_setopt (c, CURLOPT_POST, 1L);
204 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 204 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
205 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 205 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
206 if (oneone) 206 if (oneone)
207 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 207 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
208 else 208 else
209 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 209 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
210 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 210 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
211 // NOTE: use of CONNECTTIMEOUT without also 211 // NOTE: use of CONNECTTIMEOUT without also
212 // setting NOSIGNAL results in really weird 212 // setting NOSIGNAL results in really weird
213 // crashes on my system! 213 // crashes on my system!
@@ -265,12 +265,12 @@ testExternalPost ()
265 curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA)); 265 curl_easy_setopt (c, CURLOPT_POSTFIELDSIZE, strlen (POST_DATA));
266 curl_easy_setopt (c, CURLOPT_POST, 1L); 266 curl_easy_setopt (c, CURLOPT_POST, 1L);
267 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 267 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
268 curl_easy_setopt (c, CURLOPT_TIMEOUT, 5L); 268 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
269 if (oneone) 269 if (oneone)
270 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 270 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
271 else 271 else
272 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 272 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
273 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 5L); 273 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
274 // NOTE: use of CONNECTTIMEOUT without also 274 // NOTE: use of CONNECTTIMEOUT without also
275 // setting NOSIGNAL results in really weird 275 // setting NOSIGNAL results in really weird
276 // crashes on my system! 276 // crashes on my system!
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!
diff --git a/src/daemon/daemontest_postform.c b/src/daemon/daemontest_postform.c
index d02e8111..75df1eb0 100644
--- a/src/daemon/daemontest_postform.c
+++ b/src/daemon/daemontest_postform.c
@@ -163,12 +163,12 @@ testInternalPost ()
163 pd = make_form (); 163 pd = make_form ();
164 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); 164 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd);
165 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 165 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
166 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 166 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
167 if (oneone) 167 if (oneone)
168 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 168 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
169 else 169 else
170 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 170 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
171 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 171 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
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
174 // crashes on my system! 174 // crashes on my system!
@@ -217,12 +217,12 @@ testMultithreadedPost ()
217 pd = make_form (); 217 pd = make_form ();
218 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); 218 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd);
219 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 219 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
220 curl_easy_setopt (c, CURLOPT_TIMEOUT, 2L); 220 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
221 if (oneone) 221 if (oneone)
222 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 222 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
223 else 223 else
224 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 224 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
225 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 2L); 225 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 5L);
226 // NOTE: use of CONNECTTIMEOUT without also 226 // NOTE: use of CONNECTTIMEOUT without also
227 // setting NOSIGNAL results in really weird 227 // setting NOSIGNAL results in really weird
228 // crashes on my system! 228 // crashes on my system!
@@ -282,12 +282,12 @@ testExternalPost ()
282 pd = make_form (); 282 pd = make_form ();
283 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd); 283 curl_easy_setopt (c, CURLOPT_HTTPPOST, pd);
284 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 284 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
285 curl_easy_setopt (c, CURLOPT_TIMEOUT, 5L); 285 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
286 if (oneone) 286 if (oneone)
287 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 287 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
288 else 288 else
289 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 289 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
290 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 5L); 290 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
291 // NOTE: use of CONNECTTIMEOUT without also 291 // NOTE: use of CONNECTTIMEOUT without also
292 // setting NOSIGNAL results in really weird 292 // setting NOSIGNAL results in really weird
293 // crashes on my system! 293 // crashes on my system!
diff --git a/src/daemon/daemontest_put.c b/src/daemon/daemontest_put.c
index 2c3acfdb..e1f89402 100644
--- a/src/daemon/daemontest_put.c
+++ b/src/daemon/daemontest_put.c
@@ -137,7 +137,7 @@ testInternalPut ()
137 curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); 137 curl_easy_setopt (c, CURLOPT_UPLOAD, 1L);
138 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 138 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
139 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 139 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
140 curl_easy_setopt (c, CURLOPT_TIMEOUT, 15L); 140 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
141 if (oneone) 141 if (oneone)
142 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 142 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
143 else 143 else
@@ -193,7 +193,7 @@ testMultithreadedPut ()
193 curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); 193 curl_easy_setopt (c, CURLOPT_UPLOAD, 1L);
194 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 194 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
195 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 195 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
196 curl_easy_setopt (c, CURLOPT_TIMEOUT, 15L); 196 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
197 if (oneone) 197 if (oneone)
198 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 198 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
199 else 199 else
@@ -261,7 +261,7 @@ testExternalPut ()
261 curl_easy_setopt (c, CURLOPT_UPLOAD, 1L); 261 curl_easy_setopt (c, CURLOPT_UPLOAD, 1L);
262 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 262 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
263 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 263 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
264 curl_easy_setopt (c, CURLOPT_TIMEOUT, 15L); 264 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
265 if (oneone) 265 if (oneone)
266 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 266 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
267 else 267 else
diff --git a/src/daemon/daemontest_put_chunked.c b/src/daemon/daemontest_put_chunked.c
index e4f9aa16..9f00dbb3 100644
--- a/src/daemon/daemontest_put_chunked.c
+++ b/src/daemon/daemontest_put_chunked.c
@@ -146,7 +146,7 @@ testInternalPut ()
146 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 146 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
147 */ 147 */
148 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 148 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
149 curl_easy_setopt (c, CURLOPT_TIMEOUT, 15L); 149 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
150 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 150 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
151 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 151 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
152 // NOTE: use of CONNECTTIMEOUT without also 152 // NOTE: use of CONNECTTIMEOUT without also
@@ -202,7 +202,7 @@ testMultithreadedPut ()
202 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 202 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
203 */ 203 */
204 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 204 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
205 curl_easy_setopt (c, CURLOPT_TIMEOUT, 15L); 205 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
206 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 206 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
207 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 207 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
208 // NOTE: use of CONNECTTIMEOUT without also 208 // NOTE: use of CONNECTTIMEOUT without also
@@ -270,7 +270,7 @@ testExternalPut ()
270 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L); 270 curl_easy_setopt (c, CURLOPT_INFILESIZE_LARGE, (curl_off_t) 8L);
271 */ 271 */
272 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1); 272 curl_easy_setopt (c, CURLOPT_FAILONERROR, 1);
273 curl_easy_setopt (c, CURLOPT_TIMEOUT, 15L); 273 curl_easy_setopt (c, CURLOPT_TIMEOUT, 150L);
274 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); 274 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
275 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L); 275 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT, 15L);
276 // NOTE: use of CONNECTTIMEOUT without also 276 // NOTE: use of CONNECTTIMEOUT without also