Error Handling Feedback

Andrew Bell via curl-library <[email protected]> Fri, 6 Mar 2026 16:43:52 -0500
Newsgroups gmane.comp.web.curl.library
Message-ID <CACJ51z3n2wiPadeABjwTKt9zm-hCxbjPxu7hgF-2seGdK3=UJQ@mail.gmail.com>
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
[email protected]

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html