curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Error Handling Feedback

From: Andrew Bell via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 6 Mar 2026 16:43:52 -0500

Hi,

I was having an occasional failure of my application and when I turned on
debug I got the following:

* upload completely sent off: 16 bytes
* connect to 127.0.0.1 port 8080 from 127.0.0.1 port 59936 failed:
Connection reset by peer
* Failed to connect to 127.0.0.1 port 8080 after 4 ms: Could not connect to
server
* closing connection #5

I am getting a zero(0) code from my HTTP get request when I call
curl_easy_getinfo(), but it would be nice to be able to get the "connection
reset by peer" information. Is there a way to fetch such detailed feedback?

Thanks,

-- 
Andrew Bell
andrew.bell.ia_at_gmail.com


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-03-06