Re: curl_global_init and curl_easy_init functions

2013-04-26 Thread Daniel Stenberg
On Fri, 26 Apr 2013, Aldrich wrote: as the tutorial says curl_global_init function is not thread safe,I find the examples all put this function before curl_global_init, You mean before curl_easy_init, right ? can I remove this function before curl_easy_init,and donot use it? If you do, lib

Re: sharedhandle Curl_resolv_unlock() error!

2013-04-26 Thread David Strauss
Along the mailing list etiquette lines, sorry for my top-post. That's not cool, either. --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: sharedhandle Curl_resolv_unlock() error!

2013-04-26 Thread David Strauss
(1) Your backtrace shows you using threads, but you didn't mention initializing libcurl's global state first, which is required for thread safety. (2) Never reply to a full digest as a way to post to a mailing list, especially if you're starting a brand-new thread. On Fri, Apr 26, 2013 at 2:58 AM,