-
Notifications
You must be signed in to change notification settings - Fork 432
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Problem
Currently, to make the quickstart examples work in the Windows Bazel CI environment (which uses a hermetic build with custom OpenSSL roots), we explicitly modify the C++ code to read the CURL_CA_BUNDLE environment variable and set the CARootsFilePathOption.
See PR #15818 for the current implementation
Goal
We should explore ways to avoid modifying the example code (quickstart.cc) for this CI-specific configuration.
Potential Solutions
- Update the client library to automatically check
CURL_CA_BUNDLEor standard OpenSSL environment variables when initializing the defaultOptions. - Adjust the Bazel build configuration to transparently point to the correct roots without code changes.
This issue tracks the investigation and implementation of a solution that keeps the quickstart code clean and environment-agnostic.
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.