add System.Net.Quic assembly and use it in HttpClient (#43076)
authorGeoff Kizer <geoffrek@microsoft.com>
Wed, 7 Oct 2020 02:01:33 +0000 (19:01 -0700)
committerGitHub <noreply@github.com>
Wed, 7 Oct 2020 02:01:33 +0000 (19:01 -0700)
commitfdc6472bd1de22b3fe67e232ca86d0593d0b7ce7
tree6b8f0dabc2a86d2ee41776b8d4f574413fb128e8
parent1be890714a7dc5fb2de5da4ab72475e0f2d6a0e5
add System.Net.Quic assembly and use it in HttpClient (#43076)

* add System.Net.Quic assembly and use it in HttpClient

* fix build issue

* remove old quic code from shared directory

* fix Common.Tests project

* fix WinHttp tests

* fix typo

Co-authored-by: Geoffrey Kizer <geoffrek@windows.microsoft.com>
77 files changed:
src/libraries/Common/src/System/Net/ArrayBuffer.cs
src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/Mock/MockConnection.cs [deleted file]
src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/Mock/MockListener.cs [deleted file]
src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/Mock/MockStream.cs [deleted file]
src/libraries/Common/tests/Common.Tests.csproj
src/libraries/Common/tests/System/Net/Http/Http3LoopbackServer.cs
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs
src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTestBase.cs
src/libraries/Common/tests/System/Net/Http/TestHelper.cs
src/libraries/NetCoreAppLibrary.props
src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/HttpClientHandlerTestBase.WinHttpHandler.cs
src/libraries/System.Net.Http/ref/System.Net.Http.cs
src/libraries/System.Net.Http/ref/System.Net.Http.csproj
src/libraries/System.Net.Http/src/System.Net.Http.csproj
src/libraries/System.Net.Http/src/System/Net/Http/BrowserHttpHandler/SocketsHttpHandler.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionSettings.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Headers.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTestBase.SocketsHttpHandler.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientMiniStressTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/QuicConnectionTests.cs [deleted file]
src/libraries/System.Net.Http/tests/FunctionalTests/QuicStreamTests.cs [deleted file]
src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.cs
src/libraries/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj
src/libraries/System.Net.Quic/Directory.Build.props [new file with mode: 0644]
src/libraries/System.Net.Quic/System.Net.Quic.sln [new file with mode: 0644]
src/libraries/System.Net.Quic/ref/System.Net.Quic.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/ref/System.Net.Quic.csproj [new file with mode: 0644]
src/libraries/System.Net.Quic/src/Resources/Strings.resx [new file with mode: 0644]
src/libraries/System.Net.Quic/src/System.Net.Quic.csproj [new file with mode: 0644]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/MockConnection.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/MockImplementationProvider.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/Mock/MockImplementationProvider.cs with 87% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/MockListener.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/MockStream.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/Mock/StreamBuffer.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/MsQuicAddressHelpers.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/MsQuicApi.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicParameterHelpers.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/MsQuicParameterHelpers.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/MsQuicSecurityConfig.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/MsQuicSession.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/MsQuicSession.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/QuicExceptionHelpers.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/QuicExceptionHelpers.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/Internal/ResettableCompletionSource.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicConnection.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/MsQuicConnection.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicImplementationProvider.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/MsQuicImplementationProvider.cs with 90% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicListener.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/MsQuicListener.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/MsQuic/MsQuicStream.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/QuicConnectionProvider.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/QuicConnectionProvider.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/QuicImplementationProvider.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/QuicImplementationProvider.cs with 81% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/QuicListenerProvider.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/QuicListenerProvider.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/QuicStreamProvider.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Implementations/QuicStreamProvider.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Interop/Interop.MsQuic.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/Interop.MsQuic.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Interop/MsQuicEnums.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/MsQuicEnums.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Interop/MsQuicNativeMethods.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/MsQuicNativeMethods.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Interop/MsQuicStatusCodes.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/MsQuicStatusCodes.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/Interop/MsQuicStatusHelper.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/Interop/MsQuicStatusHelper.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/NetEventSource.Quic.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/NetEventSource.Quic.cs with 100% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicClientConnectionOptions.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicClientConnectionOptions.cs with 97% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnection.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicConnection.cs with 97% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicConnectionAbortedException.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicConnectionAbortedException.cs with 89% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicException.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicException.cs with 90% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicImplementationProviders.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicImplementationProviders.cs with 90% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicListener.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicListener.cs with 97% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicListenerOptions.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicListenerOptions.cs with 98% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicOperationAbortedException.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicOperationAbortedException.cs with 85% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicStream.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicStream.cs with 99% similarity]
src/libraries/System.Net.Quic/src/System/Net/Quic/QuicStreamAbortedException.cs [moved from src/libraries/Common/src/System/Net/Http/aspnetcore/Quic/QuicStreamAbortedException.cs with 89% similarity]
src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTestBase.cs [moved from src/libraries/System.Net.Http/tests/FunctionalTests/MsQuicTestBase.cs with 100% similarity]
src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicConnectionTests.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicListenerTests.cs [moved from src/libraries/System.Net.Http/tests/FunctionalTests/QuicListenerTests.cs with 65% similarity]
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs [moved from src/libraries/System.Net.Http/tests/FunctionalTests/MsQuicTests.cs with 55% similarity]
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs [new file with mode: 0644]
src/libraries/System.Net.Quic/tests/FunctionalTests/System.Net.Quic.Functional.Tests.csproj [new file with mode: 0644]
src/libraries/pkg/baseline/packageIndex.json