Skip to content

Disable libcurl SSL connection sharing #6581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

antkmsft
Copy link
Member

Fixes #6535.

When running unit tests with libcurl >= 8.12, and EnableCurlSslCaching is true, Curl connection pool unit tests do fail.
Everything is green when EnableCurlSslCaching == false, so I propose to disable it, and remove the option.

This PR verifies that setting that option does not fail when using libcurl < 8.12, #6574 verifies it with libcurl >= 8.12.

@antkmsft antkmsft self-assigned this May 17, 2025
@Azure Azure deleted a comment from azure-pipelines bot May 17, 2025
@antkmsft
Copy link
Member Author

/azp run cpp - core

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

antkmsft added a commit to antkmsft/azure-sdk-for-cpp that referenced this pull request May 17, 2025
…he same change with libcurl >= 8.12, and also make future merging easier
antkmsft added a commit to antkmsft/azure-sdk-for-cpp that referenced this pull request May 17, 2025
…he same change with libcurl >= 8.12, and also make future merging easier
@Azure Azure deleted a comment from azure-pipelines bot May 17, 2025
@antkmsft
Copy link
Member Author

/azp run cpp - core, cpp - identity, cpp - storage, cpp - keyvault, cpp - tables, cpp - attestation, cpp - eventhubs, cpp - template, cpp - appconfiguration

Copy link

Azure Pipelines successfully started running 9 pipeline(s).

Comment on lines 7 to 12
### Breaking Changes

- [[#6535]](https://github.com/Azure/azure-sdk-for-cpp/issues/6535) Disable SSL caching for libcurl transport, which fixes using SSL connections when using libcurl >= 8.12. (A community contribution, courtesy of _[sushshring](https://github.com/sushshring)_)

### Bugs Fixed

Copy link
Member Author

Choose a reason for hiding this comment

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

Before merging, I will move this section to "Bugs fixed", I just don't want to reset the status of CI pipelines now.

Suggested change
### Breaking Changes
- [[#6535]](https://github.com/Azure/azure-sdk-for-cpp/issues/6535) Disable SSL caching for libcurl transport, which fixes using SSL connections when using libcurl >= 8.12. (A community contribution, courtesy of _[sushshring](https://github.com/sushshring)_)
### Bugs Fixed
### Breaking Changes
### Bugs Fixed
- [[#6535]](https://github.com/Azure/azure-sdk-for-cpp/issues/6535) Disable SSL caching for libcurl transport, which fixes using SSL connections when using libcurl >= 8.12. (A community contribution, courtesy of _[sushshring](https://github.com/sushshring)_)

@antkmsft antkmsft marked this pull request as ready for review May 17, 2025 21:57
@antkmsft
Copy link
Member Author

cc @sushshring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CURLE_BAD_FUNCTION_ARGUMENT when calling HTTPS URLs using curl v>=8.12.1
1 participant