cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_perform gives CURLE_COULDNT_RESOLVE_HOST error in multi thread environment

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 29 Nov 2014 09:37:50 +0100

On Sat, Nov 29, 2014 at 03:03:36AM +0530, Praveen Pvs wrote:
> >>> We are taking care of some of things mentioned in those links.

Well, if you only do some of those thing, then you'll have to expect that your
program will only fail "some" of the time. In particular, I don't see any code
to set OpenSSL locking callbacks, nor do I see a call to curl_global_init().
Perhaps there's more. Please read those entire sections again.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-29