From 322db316dfa111caa968888c79f2a22beaf43552 Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Sat, 30 Mar 2024 23:47:42 -0700 Subject: [PATCH] marked DetachAsync as not supported in KestrelPipeConnection --- src/SuperSocket.Kestrel/KestrelPipeConnection.cs | 5 +++++ 1 file changed, 5 insertions(+) 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;