curl-library
Re: Resolving Threading-Issues with LibCurl
Date: Wed, 13 Sep 2006 15:23:08 +0200 (CEST)
On Wed, 13 Sep 2006, Lawrence Yang wrote:
> I just began to use LibCurl to undertake a time-critical project, which is
> supposed to be cross-platform. And when I read the LibCurl tutorial, I found
> there was a section about multi-threading issues, which is becoming my
> biggest concern about whether to proceed with LibCurl.
Why? I doubt you'll find another portable URL transfer library that doesn't
have similar sections in their manuals...
But sure, if you find a tool that better suits your needs I'd advise you to go
with that instead.
> I am just wondering if someone has resolved this issue before.
Quite a large amount of users use libcurl multi-threaded, yes.
> Besides, how shall I build LibCurl with c-ares support?
Build c-ares first, then point it out in the libcurl build.
> And how shall I set the two call-back functions so that Open-SSL could be
> used safely in multi-threading environment?
As I remember, the docs more or less points out exactly how to do it. What
isn't clear in this regard?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-09-13