On Tue, Apr 12, 2022 at 07:07:51PM +0200, Julien Matthey via curl-library wrote:
> I get "curl_easy_perform() failed: Unsupported protocol" for https requests:
[...]
> And here is my problem with it: it works with the curl.exe executable I also
> built! Example:
> 
> $curl *https*://www.google.com
> 
> The *https *request WILL SUCCEED! -> connected through port 403 and the page
> contents are printed.
> 
> So why doesn't it work in my own sample project?

Are you absolutely sure that the library is the same in both cases? Try
printing the output of curl_version_info() in your program and compare it to
the output of "curl -V" from the curl executable. I think you'll see a
difference.
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to