From 3a971ef2538c0d0b47da08c06f0fdc82f4463491 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Mon, 9 Mar 2020 09:03:48 -0700 Subject: [PATCH] Change quic package name to experimental (#19657) --- eng/ProjectReferences.props | 2 +- src/Servers/Kestrel/Kestrel.sln | 2 +- .../Transport.Quic/src/Internal/FakeTlsConnectionFeature.cs | 2 +- .../Kestrel/Transport.Quic/src/Internal/IQuicTrace.cs | 2 +- .../Transport.Quic/src/Internal/QuicConnectionContext.cs | 2 +- .../Transport.Quic/src/Internal/QuicConnectionListener.cs | 2 +- .../Transport.Quic/src/Internal/QuicStreamContext.cs | 2 +- .../Kestrel/Transport.Quic/src/Internal/QuicTrace.cs | 2 +- .../Transport.Quic/src/Internal/QuicTransportContext.cs | 2 +- ...tCore.Server.Kestrel.Transport.Experimental.Quic.csproj} | 2 +- .../Kestrel/Transport.Quic/src/QuicConnectionFactory.cs | 6 +++--- .../Kestrel/Transport.Quic/src/QuicTransportFactory.cs | 4 ++-- .../Kestrel/Transport.Quic/src/QuicTransportOptions.cs | 2 +- .../Transport.Quic/src/WebHostBuilderMsQuicExtensions.cs | 2 +- .../Kestrel/samples/Http3SampleApp/Http3SampleApp.csproj | 2 +- .../Kestrel/samples/QuicSampleApp/QuicSampleApp.csproj | 2 +- src/Servers/Kestrel/samples/QuicSampleClient/Program.cs | 2 +- .../samples/QuicSampleClient/QuicSampleClient.csproj | 2 +- 18 files changed, 21 insertions(+), 21 deletions(-) rename src/Servers/Kestrel/Transport.Quic/src/{Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj => Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.csproj} (98%) diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props index d5180da8df..dda9b06ce8 100644 --- a/eng/ProjectReferences.props +++ b/eng/ProjectReferences.props @@ -16,7 +16,7 @@ - + diff --git a/src/Servers/Kestrel/Kestrel.sln b/src/Servers/Kestrel/Kestrel.sln index e6a1ee0477..39711faec1 100644 --- a/src/Servers/Kestrel/Kestrel.sln +++ b/src/Servers/Kestrel/Kestrel.sln @@ -86,7 +86,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "http2cat", "samples\http2ca EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QuicSampleApp", "samples\QuicSampleApp\QuicSampleApp.csproj", "{53A8634C-DFC5-4A5B-8864-9EF1707E3F18}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel.Transport.Quic", "Transport.Quic\src\Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj", "{62CFF861-807E-43F6-9403-22AA7F06C9A6}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic", "Transport.Quic\src\Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.csproj", "{62CFF861-807E-43F6-9403-22AA7F06C9A6}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QuicSampleClient", "samples\QuicSampleClient\QuicSampleClient.csproj", "{F39A942B-85A8-4C1B-A5BC-435555E79F20}" EndProject diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/FakeTlsConnectionFeature.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/FakeTlsConnectionFeature.cs index 06f87a37ab..6165d46de8 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/FakeTlsConnectionFeature.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/FakeTlsConnectionFeature.cs @@ -7,7 +7,7 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Features; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { internal class FakeTlsConnectionFeature : ITlsConnectionFeature { diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/IQuicTrace.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/IQuicTrace.cs index 4bd88a52d5..d91db88d70 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/IQuicTrace.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/IQuicTrace.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { internal interface IQuicTrace : ILogger { diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionContext.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionContext.cs index 513d45731c..75bdb99831 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionContext.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionContext.cs @@ -10,7 +10,7 @@ using Microsoft.AspNetCore.Connections.Features; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { internal class QuicConnectionContext : TransportMultiplexedConnection, IProtocolErrorCodeFeature { diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionListener.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionListener.cs index 12af5859f6..c6d50f0250 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionListener.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicConnectionListener.cs @@ -12,7 +12,7 @@ using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { /// /// Listens for new Quic Connections. diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicStreamContext.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicStreamContext.cs index 5b841aa097..8a17ae6aa5 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicStreamContext.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicStreamContext.cs @@ -12,7 +12,7 @@ using Microsoft.AspNetCore.Connections.Features; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { internal class QuicStreamContext : TransportConnection, IStreamDirectionFeature, IProtocolErrorCodeFeature, IStreamIdFeature { diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTrace.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTrace.cs index 6adf0667c0..85f8119490 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTrace.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTrace.cs @@ -4,7 +4,7 @@ using System; using Microsoft.Extensions.Logging; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { internal class QuicTrace : IQuicTrace { diff --git a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTransportContext.cs b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTransportContext.cs index f26c23d9d5..0ca29b2d2d 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTransportContext.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/Internal/QuicTransportContext.cs @@ -3,7 +3,7 @@ using Microsoft.Extensions.Hosting; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal { internal class QuicTransportContext { diff --git a/src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj b/src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.csproj similarity index 98% rename from src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj rename to src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.csproj index 22e92069b1..69b85b7204 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj +++ b/src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.csproj @@ -7,7 +7,7 @@ aspnetcore;kestrel true CS1591;CS0436;$(NoWarn) - false + true diff --git a/src/Servers/Kestrel/Transport.Quic/src/QuicConnectionFactory.cs b/src/Servers/Kestrel/Transport.Quic/src/QuicConnectionFactory.cs index bb67ac4e80..abc73c72c0 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/QuicConnectionFactory.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/QuicConnectionFactory.cs @@ -10,11 +10,11 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Http.Features; -using Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal; +using Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic { public class QuicConnectionFactory : IMultiplexedConnectionFactory { @@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic throw new ArgumentNullException(nameof(options)); } - var logger = loggerFactory.CreateLogger("Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Client"); + var logger = loggerFactory.CreateLogger("Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Client"); var trace = new QuicTrace(logger); _transportContext = new QuicTransportContext(trace, options.Value); diff --git a/src/Servers/Kestrel/Transport.Quic/src/QuicTransportFactory.cs b/src/Servers/Kestrel/Transport.Quic/src/QuicTransportFactory.cs index 64f59b4e16..98b089c892 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/QuicTransportFactory.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/QuicTransportFactory.cs @@ -7,11 +7,11 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Http.Features; -using Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Internal; +using Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic.Internal; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic { public class QuicTransportFactory : IMultiplexedConnectionListenerFactory { diff --git a/src/Servers/Kestrel/Transport.Quic/src/QuicTransportOptions.cs b/src/Servers/Kestrel/Transport.Quic/src/QuicTransportOptions.cs index 8ed5fe3dd8..801ef8da8f 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/QuicTransportOptions.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/QuicTransportOptions.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; using System.Security.Cryptography.X509Certificates; -namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic +namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic { public class QuicTransportOptions { diff --git a/src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderMsQuicExtensions.cs b/src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderMsQuicExtensions.cs index 57ac9024e3..2c5ab8be37 100644 --- a/src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderMsQuicExtensions.cs +++ b/src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderMsQuicExtensions.cs @@ -3,7 +3,7 @@ using System; using Microsoft.AspNetCore.Connections; -using Microsoft.AspNetCore.Server.Kestrel.Transport.Quic; +using Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic; using Microsoft.Extensions.DependencyInjection; namespace Microsoft.AspNetCore.Hosting diff --git a/src/Servers/Kestrel/samples/Http3SampleApp/Http3SampleApp.csproj b/src/Servers/Kestrel/samples/Http3SampleApp/Http3SampleApp.csproj index 07adeb2684..04b7e7420c 100644 --- a/src/Servers/Kestrel/samples/Http3SampleApp/Http3SampleApp.csproj +++ b/src/Servers/Kestrel/samples/Http3SampleApp/Http3SampleApp.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/Servers/Kestrel/samples/QuicSampleApp/QuicSampleApp.csproj b/src/Servers/Kestrel/samples/QuicSampleApp/QuicSampleApp.csproj index 9e973b1b39..56ee0e01e1 100644 --- a/src/Servers/Kestrel/samples/QuicSampleApp/QuicSampleApp.csproj +++ b/src/Servers/Kestrel/samples/QuicSampleApp/QuicSampleApp.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Servers/Kestrel/samples/QuicSampleClient/Program.cs b/src/Servers/Kestrel/samples/QuicSampleClient/Program.cs index 082d95cbfa..5ced2cc44b 100644 --- a/src/Servers/Kestrel/samples/QuicSampleClient/Program.cs +++ b/src/Servers/Kestrel/samples/QuicSampleClient/Program.cs @@ -3,7 +3,7 @@ using System.Buffers; using System.Net; using System.Text; using System.Threading.Tasks; -using Microsoft.AspNetCore.Server.Kestrel.Transport.Quic; +using Microsoft.AspNetCore.Server.Kestrel.Transport.Experimental.Quic; using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Connections; using Microsoft.Extensions.Logging; diff --git a/src/Servers/Kestrel/samples/QuicSampleClient/QuicSampleClient.csproj b/src/Servers/Kestrel/samples/QuicSampleClient/QuicSampleClient.csproj index 59fd148bed..902824d836 100644 --- a/src/Servers/Kestrel/samples/QuicSampleClient/QuicSampleClient.csproj +++ b/src/Servers/Kestrel/samples/QuicSampleClient/QuicSampleClient.csproj @@ -7,7 +7,7 @@ - +