cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: issue with libcurl

From: David Colter via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 26 Nov 2015 08:08:58 -0500

Hello Peidong,

> However, the code randomly throw the errors CURLE_COULDNT_CONNECT or CURLE_COULDNT_RESOLVE_HOST.

These two errors sound like an issue with connectivity to the internet rather than a problem with curl.

Perhaps your script could try checking connectivity with curl and reacting to to absence of a connection.

David
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-26