From 0946f31a22eeeab5d5af6050fde3573eecbb3cc6 Mon Sep 17 00:00:00 2001 From: goat Date: Mon, 26 Dec 2022 14:57:58 +0100 Subject: [PATCH] chore: disable HTTP3 globally for .NET --- lib/CoreCLR/boot.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/CoreCLR/boot.cpp b/lib/CoreCLR/boot.cpp index e332650cc..e3db99c4f 100644 --- a/lib/CoreCLR/boot.cpp +++ b/lib/CoreCLR/boot.cpp @@ -51,6 +51,9 @@ int InitializeClrAndGetEntryPoint( SetEnvironmentVariable(L"DOTNET_TC_QuickJitForLoops", L"1"); SetEnvironmentVariable(L"DOTNET_ReadyToRun", L"1"); + // WINE does not support QUIC and we don't need it + SetEnvironmentVariable(L"DOTNET_SYSTEM_NET_HTTP_SOCKETSHTTPHANDLER_HTTP3SUPPORT", L"0"); + SetEnvironmentVariable(L"COMPlus_ETWEnabled", enable_etw ? L"1" : L"0"); wchar_t* dotnet_path;