curl-library
Re: Curl, threading and gethostbyname
From: Constantine Sapuntzakis <csapuntz_at_gmail.com>
Date: Thu, 26 Aug 2010 15:11:22 -0700
Date: Thu, 26 Aug 2010 15:11:22 -0700
Curl keeps an internal DNS cache that's global. I'm guessing you need
to register mutex callbacks (see CURLSHOPT_LOCKFUNC and
CURLSHOPT_UNLOCKFUNC).
If you use SSL/TLS and OpenSSL, don't forget to call
CRYPTO_set_id_callback and CRYPTO_set_locking_callback.
-Costa
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-27