cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Multiple download portability?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Dec 2007 12:41:55 +0100 (CET)

On Thu, 27 Dec 2007, Andreas Volz wrote:

>>> It works, but it might not be the best idea anyway.
>>
>> Why? And which solution would you suggest?

The why part was already explained in that same mail.

> Please, if you know a reason why not to use it with threads, then please
> tell me. I like to prevent porting problems as early as possible.

libcurl works just fine with threads. Just don't use the same handles in
multiple threads and use the SSL mutex callbacks if you'll deal with HTTPS or
FTPS.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-12-28