search for: curl_easy_getinfo

Displaying 5 results from an estimated 5 matches for "curl_easy_getinfo".

2020 Jan 08
1
[nbdkit PATCH] curl: use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T when available
Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T for curl_easy_getinfo() (added in curl 7.55.0) to get the length of a remote file, instead of the old CURLINFO_CONTENT_LENGTH_DOWNLOAD. This way the size is already a 64-bit integer value, as opposed to a double (the old information). --- plugins/curl/curl.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+...
2010 Oct 09
1
ncdf installation in R
...dices ** building package indices ... ** testing if installed package can be loaded Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/home/challar/R/R-2.11.1/library/ncdf/libs/ncdf.so': /home/challar/R/R-2.11.1/library/ncdf/libs/ncdf.so: undefined symbol: curl_easy_getinfo ERROR: loading failed * removing â/home/challar/R/R-2.11.1/library/ncdfâ Thinking that there is something wrong with curllib I installed curl in a local directory and configured netCDF using “ --with-curl=/home/challar/curl/” option. Even that did not work. Got the same error. I looked up in the...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...0000000000003bc0 T R_check_bits 00000000000047f0 T R_curlMultiPerform 0000000000004db0 T R_curl_BinaryData_free 0000000000004c90 T R_curl_BinaryData_new 0000000000005380 T R_curl_BinaryData_to_raw 0000000000004dd0 T R_curl_debug_callback 0000000000006970 T R_curl_easy_duphandle 0000000000005680 T R_curl_easy_getinfo 00000000000069a0 T R_curl_easy_init 0000000000006880 T R_curl_easy_perform 00000000000060e0 T R_curl_easy_setopt 0000000000005710 T R_curl_escape 0000000000005440 T R_curl_getpasswd 0000000000006950 T R_curl_global_cleanup 0000000000006930 T R_curl_global_init 0000000000004af0 T R_curl_progress_cal...
2008 May 07
1
[BioC] RCurl loading problem with 64 bit linux distribution
...0000000000003bc0 T R_check_bits 00000000000047f0 T R_curlMultiPerform 0000000000004db0 T R_curl_BinaryData_free 0000000000004c90 T R_curl_BinaryData_new 0000000000005380 T R_curl_BinaryData_to_raw 0000000000004dd0 T R_curl_debug_callback 0000000000006970 T R_curl_easy_duphandle 0000000000005680 T R_curl_easy_getinfo 00000000000069a0 T R_curl_easy_init 0000000000006880 T R_curl_easy_perform 00000000000060e0 T R_curl_easy_setopt 0000000000005710 T R_curl_escape 0000000000005440 T R_curl_getpasswd 0000000000006950 T R_curl_global_cleanup 0000000000006930 T R_curl_global_init 0000000000004af0 T R_curl_progress_cal...
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...l_easy_setopt(hnd[i], CURLOPT_HTTPHEADER, slist1); + curl_easy_setopt(hnd[i], CURLOPT_HTTPHEADER, headers); /* check that destfile can be written */ file = translateChar(STRING_ELT(sfile, i)); @@ -660,7 +678,7 @@ in_do_curlDownload(SEXP call, SEXP op, SEXP args, SEXP rho) if(nurls == 1) curl_easy_getinfo(hnd[0], CURLINFO_RESPONSE_CODE, &status); curl_multi_cleanup(mhnd); - if (!cacheOK) curl_slist_free_all(slist1); + curl_slist_free_all(headers); if(nurls > 1) { if (n_err == nurls) error(_("cannot download any files")); @@ -703,6 +721,7 @@ typedef struct Curlconn...