cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP > HTTPS redirect with curl_global_init(CURL_GLOBAL_NOTHING) crashes

From: Richard Gray <rgray_at_plustechnologies.com>
Date: Wed, 29 Jun 2016 11:32:24 -0400

Daniel Stenberg wrote:
> On Wed, 29 Jun 2016, Richard Gray wrote:
>
>> My main thrust in bringing this up was documentation about SSL
>> initialization and whether or not libcurl should protect against SSL use
>> when it hasn't been initialized. Not a big deal, because I know I was
>> screwing up.
>
> I did at least expand a little in the docs on what the bits are for and what
> it means to not set them:
>
> https://curl.haxx.se/libcurl/c/curl_global_init.html
>
"Doing TLS based transfers without having the TLS layer initialized may lead
to unexpected behaviors. "

Crashes - the ultimate unexpected behavior. ;)

Now I get past that only to discover that this printer is so old that WinSSL
refuses to talk to it. Neither will SeaMonkey (Mozilla). So I need to figure
out how to allow libcurl to be as permissive as possible, taking the best
security it can get when forced to go HTTPS. But that's another thread, I
guess, if I can't find something by searching. And maybe another day given
other things that are biting me right now... :(

Thanks!
Rich

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-29