You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: replace libcurl with .NET HttpClient for sentry-native (#4222)
* poc: custom http transport for sentry-native to eliminate curl
* Replace StringContent with self-made UnmanagedHttpContent to avoid copy
* Update CONTRIBUTING.md
* ci: no need to install libcurl4-openssl-dev anymore
* mark UnmanagedHttpContent sealed
* fix UnmanagedHttpContent.TryComputeLength return value
* add diagnostic log message for native transport exceptions
* await async exceptions
* add unsafe CreateStream() helper
* clear the pointer after dispose
* apply discussed changes
* throw ObjectDisposedException if already disposed
* ObjectDisposedException.ThrowIf() is available in net7.0+
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,15 +32,13 @@ For big feature it's advised to raise an issue to discuss it first.
32
32
33
33
*[`pwsh`](https://github.com/PowerShell/PowerShell#get-powershell) Core version 6 or later on PATH.
34
34
35
-
*`CMake` on PATH. On Windows you can install the [C++ CMake tools for Windows](https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170#installation). On macOS you can use your favourite package manager (e.g. `brew install cmake`).
35
+
*`CMake` on PATH. On Windows you can install the [C++ CMake tools for Windows](https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170#installation). On macOS and Linux you can use your favourite package manager (e.g. `brew install cmake` or `apt install cmake`).
36
36
37
37
* On Windows:
38
38
-[.NET Framework](https://dotnet.microsoft.com/download/dotnet-framework) 4.6.2 or higher.
39
39
-`Sentry.DiagnosticSource.IntegrationTests.csproj` uses [SQL LocalDb](https://docs.microsoft.com/sql/database-engine/configure-windows/sql-server-express-localdb) - [download SQL LocalDB 2019](https://download.microsoft.com/download/7/c/1/7c14e92e-bdcb-4f89-b7cf-93543e7112d1/SqlLocalDB.msi). To avoid running these tests, unload `Sentry.DiagnosticSource.IntegrationTests.csproj` from the solution.
40
40
* On macOS/Linux
41
41
-[Mono 6 or higher](https://www.mono-project.com/download/stable) to run the unit tests on the `net4x` targets.
42
-
* On Linux
43
-
-**curl** and **zlib** libraries (e.g. on Ubuntu: libcurl4-openssl-dev, libz-dev) to build the [sentry-native](https://github.com/getsentry/sentry-native/) module.
0 commit comments