Skip to content

config2setopts: make --capath work in proxy disabled builds#21063

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/capath-proxy
Closed

config2setopts: make --capath work in proxy disabled builds#21063
bagder wants to merge 1 commit intomasterfrom
bagder/capath-proxy

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Mar 22, 2026

Follow-up to 95e8515

Spotted by Codex Security

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the curl tool’s config-to-setopt translation so --capath no longer fails when built against a libcurl that has proxy support disabled (where proxy-specific TLS options may return CURLE_UNKNOWN_OPTION / CURLE_NOT_BUILT_IN).

Changes:

  • Treat CURLOPT_PROXY_CAPATH returning CURLE_NOT_BUILT_IN / CURLE_UNKNOWN_OPTION as ignorable and continue.
  • Emit a warning when proxy CA path setting is unsupported and clear the error to avoid aborting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@testclutch
Copy link
Copy Markdown

Analysis of PR #21063 at fff46570:

Test 671 failed, which has NOT been flaky recently, so there could be a real issue in this PR. Note that this test has failed in 2 different CI jobs (the link just goes to one of them).

Generated by Testclutch

@bagder bagder marked this pull request as ready for review March 23, 2026 13:33
@bagder bagder closed this in d3fa54a Mar 23, 2026
@bagder bagder deleted the bagder/capath-proxy branch April 3, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants