diff options
Diffstat (limited to 'src/testcurl/daemontest_long_header.c')
-rw-r--r-- | src/testcurl/daemontest_long_header.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/testcurl/daemontest_long_header.c b/src/testcurl/daemontest_long_header.c index 23823411..98dcc812 100644 --- a/src/testcurl/daemontest_long_header.c +++ b/src/testcurl/daemontest_long_header.c @@ -107,7 +107,7 @@ testLongUrlGet () &ahc_echo, "GET", MHD_OPTION_CONNECTION_MEMORY_LIMIT, - VERY_LONG / 2, MHD_OPTION_END); + (size_t) (VERY_LONG / 2), MHD_OPTION_END); if (d == NULL) return 1; c = curl_easy_init (); @@ -125,9 +125,9 @@ testLongUrlGet () curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); else curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); - // NOTE: use of CONNECTTIMEOUT without also - // setting NOSIGNAL results in really weird - // crashes on my system! + /* NOTE: use of CONNECTTIMEOUT without also + setting NOSIGNAL results in really weird + crashes on my system! */ curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); if (CURLE_OK == curl_easy_perform (c)) { @@ -173,7 +173,7 @@ testLongHeaderGet () &ahc_echo, "GET", MHD_OPTION_CONNECTION_MEMORY_LIMIT, - VERY_LONG / 2, MHD_OPTION_END); + (size_t) (VERY_LONG / 2), MHD_OPTION_END); if (d == NULL) return 16; c = curl_easy_init (); @@ -195,9 +195,9 @@ testLongHeaderGet () curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); else curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); - // NOTE: use of CONNECTTIMEOUT without also - // setting NOSIGNAL results in really weird - // crashes on my system! + /* NOTE: use of CONNECTTIMEOUT without also + setting NOSIGNAL results in really weird + crashes on my system! */ curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1); if (CURLE_OK == curl_easy_perform (c)) { |