cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CurlCPP appears to hang when ethernet cable disconnected

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 5 Mar 2016 12:01:28 +0100

On Fri, Mar 04, 2016 at 04:47:55PM -0600, heath.schaefer_at_parker.com wrote:
> 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:
>
> [cid]
>
> [cid]
> Why could be hanging and not returning?

https://curl.haxx.se/docs/faq.html#Why_doesn_t_cURL_return_an_error
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-05