Repository navigation
feat(transport): add SENTRY_LINK_CURL option - #1954
Merged
Merged
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.99% +0.05%
==========================================
Files 94 94
Lines 22161 22180 +19
Branches 3936 3937 +1
==========================================
+ Hits 16829 16855 +26
+ Misses 4445 4440 -5
+ Partials 887 885 -2 🚀 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.
1 task
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
sentry-native 0.16.2 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`. - [ ] `resource` blocks have been checked for updates. <details> <summary>release notes</summary> <pre>**Features**: - Add `sentry_scope_remove_fingerprint` to remove a fingerprint set on a scope, matching the global `sentry_remove_fingerprint`. ([#1932](getsentry/sentry-native#1932)) - Add `sentry_options_set_before_send_feedback` to filter or enrich user feedback. Feedback does not go through `before_send`. ([#1923](getsentry/sentry-native#1923)) - Unix: Add `SENTRY_LINK_CURL` to control whether the curl transport links `libcurl` directly, loads it dynamically at runtime, or uses the default behavior. ([#1954](getsentry/sentry-native#1954)) **Fixes**: - Name `sentry-logs` and `sentry-metrics` telemetry batcher threads so they can be identified in debuggers, profilers, and crash reports. ([#1937](getsentry/sentry-native#1937)) - Linux: close descriptor `0` on failed module file mapping when that descriptor was returned by `open`, avoiding a file descriptor leak. ([#1924](getsentry/sentry-native#1924)) - `sentry_attachment_set_filename`, `sentry_attachment_set_type`, and `sentry_attachment_set_content_type` now flush the scope, so changes applied after `sentry_attach_file`/`sentry_attach_bytes` also apply to hard-crash events instead of only to normal events. ([#1934](getsentry/sentry-native#1934)) - Crashpad: fix a crash when calling `sentry_init` before C++ dynamic initializers have run. ([#1930](getsentry/sentry-native#1930), [mini_chromium#8](getsentry/mini_chromium#8)) - Reduce the size of native-generated minidumps on Windows ([#1929](https://github.com/getsentry/sentry-native/pull/1929))</pre> <p>View the full release notes at <a href="https://github.com/getsentry/sentry-native/releases/tag/0.16.2">https://github.com/getsentry/sentry-native/releases/tag/0.16.2</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!16247
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: