diff --git a/src/SuperSocket.Kestrel/KestrelPipeConnection.cs b/src/SuperSocket.Kestrel/KestrelPipeConnection.cs index 528b4278d..1a0352f1d 100644 --- a/src/SuperSocket.Kestrel/KestrelPipeConnection.cs +++ b/src/SuperSocket.Kestrel/KestrelPipeConnection.cs @@ -21,6 +21,11 @@ public KestrelPipeConnection(ConnectionContext context, ConnectionOptions option RemoteEndPoint = context.RemoteEndPoint; } + public override ValueTask DetachAsync() + { + throw new NotSupportedException($"Detach is not supported by {nameof(KestrelPipeConnection)}."); + } + protected override async void Close() { var context = _context;