curl-library
Re: multi_threads
Date: Wed, 07 Dec 2005 15:14:39 -0700
Daniel Stenberg wrote:
> On Tue, 6 Dec 2005, Yi Li wrote:
>
>> By the way, if I allow the redirect, then it possible get https. How
>> can I handle it in multiple threads and does anyone has sample code.
>
>
> If you want to use HTTPS or FTPS in a multi-threaded program, you need
> to set the locking method for your SSL library of choice:
>
> http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
>
> (One day, we should add a way to set these functions using libcurl, so
> that the app won't need to know and include SSL-library specific
> details to work.)
>
Hi,
my program intend to download some http files. But since I allow
redirection, it is possible that it will go fetch https files. In the
case, if I did not set up any ssl options, will the program die?
Thanks in advance!
Michael
Received on 2005-12-07