curl-library
Re: multi_threads
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Dec 2005 23:32:35 +0100 (CET)
Date: Tue, 6 Dec 2005 23:32:35 +0100 (CET)
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.)
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-12-06