feat(transport): add SENTRY_LINK_CURL option - #1954
Open
jpnurmi wants to merge 11 commits into
Open
Conversation
|
jpnurmi
force-pushed
the
jpnurmi/feat/curl-link-option
branch
from
August 4, 2026 19:39
3cac460 to
36eed70
Compare
jpnurmi
force-pushed
the
jpnurmi/feat/curl-link-option
branch
from
August 4, 2026 19:50
36eed70 to
4ff5953
Compare
Add SENTRY_LINK_CURL to choose whether the curl transport links libcurl directly, resolves it at runtime with dlopen/dlsym, or uses the default behavior. Keep the default behavior on direct linking in this change. The linked and runtime-loaded paths use the same curl call table, so the request logic remains shared. See: #1852
jpnurmi
force-pushed
the
jpnurmi/feat/curl-link-option
branch
from
August 4, 2026 19:53
4ff5953 to
227693c
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1954 +/- ##
==========================================
+ Coverage 75.93% 75.98% +0.04%
==========================================
Files 94 94
Lines 22161 22180 +19
Branches 3936 3937 +1
==========================================
+ Hits 16829 16854 +25
+ Misses 4445 4440 -5
+ Partials 887 886 -1 🚀 New features to boost your workflow:
|
limbonaut
reviewed
Aug 5, 2026
limbonaut
left a comment
Collaborator
There was a problem hiding this comment.
Partially reviewed, I'll give it another look in a bit!
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9413592. Configure here.
This reverts commit cb49750.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add
SENTRY_LINK_CURLCMake option (inspired bySENTRY_LINK_PTHREAD) to choose whether the curl transport links libcurl directly or resolves it at runtime withdlopen/dlsym. Keep direct linking enabled by default.The linked and runtime-loaded paths use the same curl call table, so the request logic remains shared.
If the runtime dependency is not satisfied:
See: