Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [libcurl]

Use this tag only for questions related to the multiprotocol internet transfer library, for question related to command line tool please use the specific curl tag

0 votes
0 answers
24 views

Libcurl multi: removing completed transfer before checking for messages, will the message be still in the queue?

I have a situation where, using the multi-interface, I have a set of running transfers, and at some point I would like to stop one of them, even if I'm not sure if the transfer has already completed ...
ABu's user avatar
  • 11.4k
-2 votes
1 answer
57 views

POST buffer to file using libcurl in C++

upload.php: <?php $target_dir = "uploads/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $imageFileType = strtolower(pathinfo(...
shawnixer's user avatar
0 votes
0 answers
28 views

Can‘t get git-remote-http binary after compile git with --with-curl option

I need a version of Git that supports the remote-http functionality. Due to certain constraints, I am unable to use a package manager and can only compile from source. My machine is running CentOS 6. ...
zfbt's user avatar
  • 1
0 votes
0 answers
30 views

Intermittent SSL cURL error 35 in production environment

I'm encountering an intermittent SSL error in our production environment that’s causing significant issues. Here are the details: Exemple: [2024-07-08 17:50:06] production.ERROR: cURL error 35: ...
AdBess's user avatar
  • 11
-1 votes
0 answers
16 views

Crash occurring while using curl_easy_perform - during ssh poll

I am using curl_easy_perform to transfer a file from one node to another. During the transfer, the process is crashing and generating the below core file: #0 0x00007f5c4af74301 in poll () from /lib64/...
Anu Antony's user avatar
0 votes
1 answer
134 views

I'm getting lot of undefined reference errors while installing curl 8.8.0 even though I'm using latest version of openSSL 3.3.0

I downloaded the latest tar file from curl official site and trying it build it. I followed these steps : cd curl-8.8.0 sudo ./configure --with-openssl sudo make but after I do sudo make at last I get ...
Shashank Shekhar's user avatar
-2 votes
1 answer
62 views

curl/curl.h header file undefined reference to 'curl_easy_...' error(C++) [duplicate]

I'm currently trying to use curl in c++. I copied include folder in curl to my project folder, so include path seems nothing wrong. But when I try to compile my codes to make .exe file, undefined ...
Suscord's user avatar
0 votes
1 answer
52 views

C return libcurl response from example as parameter

I'm following the code from this libcurl example and everything seems to work perfectly as a standalone, so i wanted to make it a function in its own file to reuse in other code. I added two ...
KiraraVS's user avatar
  • 162
1 vote
2 answers
143 views

libcurl curl_easy_perform reports "Couldn't resolve host name" (code 6)

I am getting this error deterministically and immediately every time I run the code below. I am trying to use libcurl that I have built from source using nmap and using the recommended procedure and ...
Jaroslav's user avatar
0 votes
1 answer
36 views

How to make libcurl work with other web connected libraries

I have a c++ libcurl sending emails while TWS API is running. TWS API connects on port 4002. Periodically I send an email with libcurl and it holds the contens of some of the data sent from TWS API. I’...
grizzlyborg's user avatar
0 votes
0 answers
58 views

cURL error 7: Failed to connect to 51.104.35.223 port 80: Connection refused

Suddenly I am getting this error on most of my APIs. Any help will be appreciated. I am trying to hit GET and POST APIs. Both are giving me this curl issue: "exception": "GuzzleHttp\...
WonderShare's user avatar
-1 votes
1 answer
24 views

Get invalid json format from Neo4j using libCurl

The CypherQuery I used is {“statements” : [{ “statement” : “MATCH (n:ns0__Meas) RETURN n LIMIT 25” }]}. I've been reading the return String via CURLOPT_WRITEDATA, but the format of the returned json ...
user20297975's user avatar
0 votes
1 answer
73 views

SFTP with private key as a buffer in curl

How to connect to remote server by just providing private key as a string/ buffer in SFTP and libcurl client in C++. I want to connect to remote server using SFTP and libcurl by only providing ...
wika's user avatar
  • 67
0 votes
1 answer
55 views

Not able to send https request with libcurl

I am trying to run below example with libcurl #include <stdio.h> #include <curl/curl.h> int main(void) { CURL* curl; CURLcode res; curl_global_init(CURL_GLOBAL_DEFAULT); ...
Gaurav K's user avatar
  • 2,945
0 votes
0 answers
45 views

Using Libcurl and C++ , program not fetching content from the website

My program seems to make a http request but apparently is not fetching content. I am trying to fetch the content of the web every second , store it and compare it to see if the content fetched is any ...
Sheikh Shessi's user avatar

15 30 50 per page
1
2 3 4 5
215