From db0970ab38f0daceb86fbcb2a84e806da8b1a9b5 Mon Sep 17 00:00:00 2001 From: Ahmet Ibrahim Aksoy Date: Mon, 18 Nov 2024 09:42:15 +0100 Subject: [PATCH 1/2] QUIC macOS support --- .../networking/quic/quic-overview.md | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/docs/fundamentals/networking/quic/quic-overview.md b/docs/fundamentals/networking/quic/quic-overview.md index e30384e02c6f8..d19fba4031aeb 100644 --- a/docs/fundamentals/networking/quic/quic-overview.md +++ b/docs/fundamentals/networking/quic/quic-overview.md @@ -117,11 +117,39 @@ All the following dependencies are stated in the `libmsquic` package manifest an - OpenSSL 3+ or 1.1 - depends on the default OpenSSL version for the distribution version, for example, OpenSSL 3 for [Ubuntu 22](https://packages.ubuntu.com/jammy/openssl) and OpenSSL 1.1 for [Ubuntu 20](https://packages.ubuntu.com/focal/utils/openssl). -- libnuma 1 +- libnuma1 ### macOS -QUIC isn't currently supported on macOS but may be available in a future release. +QUIC is now partially supported on macOS through a non-standard Homebrew package manager with some limitations. You can install `libmsquic` on macOS using Homebrew with the following command: + +```bash +brew install libmsquic +``` + +To run a .NET application and ensure it uses `libmsquic`, you need to set the environment variable before running the application. This ensures the application can find the `libmsquic` library during runtime dynamic loading. You can do this by adding the following command before your main command: + +```bash +DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib dotnet run +``` + +or + +```bash +DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib ./binaryname +``` + +Alternatively, you can set the environment variable with: + +```bash +export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib +``` + +and then run your main command: + +```bash +./binaryname +``` ## API overview From c77592cbd559c25ca30ea8060cee92cefbe3b3b5 Mon Sep 17 00:00:00 2001 From: Ahmet Ibrahim Aksoy Date: Mon, 18 Nov 2024 11:11:55 +0100 Subject: [PATCH 2/2] Update docs/fundamentals/networking/quic/quic-overview.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marie Píchová <11718369+ManickaP@users.noreply.github.com> --- docs/fundamentals/networking/quic/quic-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fundamentals/networking/quic/quic-overview.md b/docs/fundamentals/networking/quic/quic-overview.md index d19fba4031aeb..f828c8469318f 100644 --- a/docs/fundamentals/networking/quic/quic-overview.md +++ b/docs/fundamentals/networking/quic/quic-overview.md @@ -127,7 +127,7 @@ QUIC is now partially supported on macOS through a non-standard Homebrew package brew install libmsquic ``` -To run a .NET application and ensure it uses `libmsquic`, you need to set the environment variable before running the application. This ensures the application can find the `libmsquic` library during runtime dynamic loading. You can do this by adding the following command before your main command: +To run a .NET application that uses `libmsquic`, you need to set the environment variable before running it. This ensures the application can find the `libmsquic` library during runtime dynamic loading. You can do this by adding the following command before your main command: ```bash DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:$(brew --prefix)/lib dotnet run