cURL / Mailing Lists / curl-library / Single Mail

curl-library

CurlCPP appears to hang when ethernet cable disconnected

From: <heath.schaefer_at_parker.com>
Date: Fri, 4 Mar 2016 16:47:55 -0600

All,

I am using the multi interface for the CurlCPP library. I am testing a
"dropped" connection by removing the ethernet uplink cable from the switch
to deprive the ethernet connection from the application. The thread that I
have using the CurlCPP library appears to stop running because it is not
returning from a call. This is just a guess because I am not able to set
up debugging with my setup.

Here is some code for your information:

Why could be hanging and not returning?

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html

picture picture
Received on 2016-03-04