From 03f174ba7f404c526a05425836d49dda81065198 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Thu, 3 Dec 2020 03:15:10 +0100 Subject: [PATCH] WIP: try to disable quic --- .../Implementations/MsQuic/Internal/MsQuicApi.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs b/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs index d90b7beedebf48..2e9a18dc82b2fb 100644 --- a/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs +++ b/src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs @@ -151,15 +151,15 @@ static MsQuicApi() // TODO: try to initialize TLS 1.3 in SslStream. - try - { - Api = new MsQuicApi(); - IsQuicSupported = true; - } - catch (NotSupportedException) - { + //try + //{ + // Api = new MsQuicApi(); + // IsQuicSupported = true; + //} + //catch (NotSupportedException) + //{ IsQuicSupported = false; - } + //} } internal MsQuicNativeMethods.RegistrationOpenDelegate RegistrationOpenDelegate { get; }