cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multi_threads

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 7 Dec 2005 23:23:18 +0100 (CET)

On Wed, 7 Dec 2005, Yi Li wrote:

> 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?

Yes it might.

libcurl currently has no option to disable/allow redirect following to
specific protocols, so you need to either build a libcurl without SSL support,
disable redirect-following or add the mutex callbacks.

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