From d1416e679bcc6604fd86d7a34015fddcf2ef5480 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Thu, 31 May 2018 15:45:26 -0700 Subject: [PATCH] [2.1.1] Provide clearer exception message for breaking change (#2623) - In 2.1, the default transport (Sockets) can no longer bind to certain endpoint types (Unix domain sockets and open socket handles). - The new message recommends manually selecting the libuv transport to work around this issue. --- .../Properties/SocketsStrings.Designer.cs | 4 ++-- src/Kestrel.Transport.Sockets/SocketsStrings.resx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Kestrel.Transport.Sockets/Properties/SocketsStrings.Designer.cs b/src/Kestrel.Transport.Sockets/Properties/SocketsStrings.Designer.cs index 9d2e7e0182..2d26f8f398 100644 --- a/src/Kestrel.Transport.Sockets/Properties/SocketsStrings.Designer.cs +++ b/src/Kestrel.Transport.Sockets/Properties/SocketsStrings.Designer.cs @@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets = new ResourceManager("Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketsStrings", typeof(SocketsStrings).GetTypeInfo().Assembly); /// - /// Only ListenType.IPEndPoint is supported. + /// Only ListenType.IPEndPoint is supported by the Socket Transport. https://go.microsoft.com/fwlink/?linkid=874850 /// internal static string OnlyIPEndPointsSupported { @@ -19,7 +19,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets } /// - /// Only ListenType.IPEndPoint is supported. + /// Only ListenType.IPEndPoint is supported by the Socket Transport. https://go.microsoft.com/fwlink/?linkid=874850 /// internal static string FormatOnlyIPEndPointsSupported() => GetString("OnlyIPEndPointsSupported"); diff --git a/src/Kestrel.Transport.Sockets/SocketsStrings.resx b/src/Kestrel.Transport.Sockets/SocketsStrings.resx index 79cd2d7303..52b26c66bc 100644 --- a/src/Kestrel.Transport.Sockets/SocketsStrings.resx +++ b/src/Kestrel.Transport.Sockets/SocketsStrings.resx @@ -118,7 +118,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Only ListenType.IPEndPoint is supported. + Only ListenType.IPEndPoint is supported by the Socket Transport. https://go.microsoft.com/fwlink/?linkid=874850 Transport is already bound.