aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_put_large.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-10-31 15:20:39 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-10-31 15:20:39 +0300
commitd1d4e15a97932b0122eb0c4a6d54453269c85792 (patch)
tree2608f823b884915f9900e499b627dfd329ea38c3 /src/testzzuf/test_put_large.c
parent424abcd21daf7000fa826a03de6188ea608a50ec (diff)
downloadlibmicrohttpd-d1d4e15a97932b0122eb0c4a6d54453269c85792.tar.gz
libmicrohttpd-d1d4e15a97932b0122eb0c4a6d54453269c85792.zip
Stick to C89 standard for a while
Diffstat (limited to 'src/testzzuf/test_put_large.c')
-rw-r--r--src/testzzuf/test_put_large.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/testzzuf/test_put_large.c b/src/testzzuf/test_put_large.c
index d52e7b91..540c37f9 100644
--- a/src/testzzuf/test_put_large.c
+++ b/src/testzzuf/test_put_large.c
@@ -168,9 +168,9 @@ testInternalPut ()
168 else 168 else
169 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 169 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
170 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT_MS, CURL_TIMEOUT); 170 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT_MS, CURL_TIMEOUT);
171 // NOTE: use of CONNECTTIMEOUT without also 171 /* NOTE: use of CONNECTTIMEOUT without also
172 // setting NOSIGNAL results in really weird 172 * setting NOSIGNAL results in really weird
173 // crashes on my system! 173 * crashes on my system! */
174 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 174 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
175 curl_easy_perform (c); 175 curl_easy_perform (c);
176 curl_easy_cleanup (c); 176 curl_easy_cleanup (c);
@@ -220,9 +220,9 @@ testMultithreadedPut ()
220 else 220 else
221 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 221 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
222 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT_MS, CURL_TIMEOUT); 222 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT_MS, CURL_TIMEOUT);
223 // NOTE: use of CONNECTTIMEOUT without also 223 /* NOTE: use of CONNECTTIMEOUT without also
224 // setting NOSIGNAL results in really weird 224 * setting NOSIGNAL results in really weird
225 // crashes on my system! 225 * crashes on my system! */
226 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 226 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
227 curl_easy_perform (c); 227 curl_easy_perform (c);
228 curl_easy_cleanup (c); 228 curl_easy_cleanup (c);
@@ -291,9 +291,9 @@ testExternalPut ()
291 else 291 else
292 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); 292 curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
293 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT_MS, CURL_TIMEOUT); 293 curl_easy_setopt (c, CURLOPT_CONNECTTIMEOUT_MS, CURL_TIMEOUT);
294 // NOTE: use of CONNECTTIMEOUT without also 294 /* NOTE: use of CONNECTTIMEOUT without also
295 // setting NOSIGNAL results in really weird 295 * setting NOSIGNAL results in really weird
296 // crashes on my system! 296 * crashes on my system! */
297 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); 297 curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
298 298
299 299