Skip to content

Conversation

kinke
Copy link
Member

@kinke kinke commented Mar 12, 2025

Official libcurl builds use a LibreSSL backend (no Windows-native Schannel, which the previous v7.74.0 DLL used), which requires setting the path to the bundled curl-ca-bundle.crt file. [Only the curl command-line tool looks it up automatically.] So in Phobos' std.net.curl, check (once) if that file exists, in the same directory as libcurl.dll, and then use it later (in Curl.initialize()).

@kinke kinke marked this pull request as ready for review March 12, 2025 16:38
@kinke kinke enabled auto-merge (squash) March 12, 2025 16:38
@kinke kinke merged commit 61c11b7 into ldc-developers:master Mar 12, 2025
20 checks passed
@kinke kinke deleted the win_libcurl branch March 12, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant