| Line 404... |
Line 404... |
| 404 |
/* libcurl (at least 7.40.0) does not respect CURLOPT_NOBODY
|
404 |
/* libcurl (at least 7.40.0) does not respect CURLOPT_NOBODY
|
| 405 |
for some ftp header info (Content-Length and Accept-ranges). */
|
405 |
for some ftp header info (Content-Length and Accept-ranges). */
|
| 406 |
curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, &rcvBody);
|
406 |
curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, &rcvBody);
|
| 407 |
curlCommon(hnd, redirect, verify);
|
407 |
curlCommon(hnd, redirect, verify);
|
| 408 |
if (timeout > 0) {
|
408 |
if (timeout > 0) {
|
| 409 |
curl_easy_setopt(hnd, CURLOPT_TIMEOUT, timeout);
|
409 |
curl_easy_setopt(hnd, CURLOPT_TIMEOUT, (long)timeout);
|
| 410 |
current_timeout = timeout;
|
410 |
current_timeout = timeout;
|
| 411 |
}
|
411 |
}
|
| 412 |
if (!streql(TLS, "")) {
|
412 |
if (!streql(TLS, "")) {
|
| 413 |
// 7.34.0 was released 2013-12-17
|
413 |
// 7.34.0 was released 2013-12-17
|
| 414 |
#if LIBCURL_VERSION_MAJOR > 7 || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 34)
|
414 |
#if LIBCURL_VERSION_MAJOR > 7 || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 34)
|