kerryjiang / SuperSocket

SuperSocket is a light weight, cross platform and extensible socket server application framework.
Apache License 2.0
3.95k stars 1.15k forks source link

Exception happened in SendAsync #655

Closed Z5SteveKim closed 1 year ago

Z5SteveKim commented 1 year ago

fail: IChannel[0] Exception happened in SendAsync System.Net.Sockets.SocketException (10053): An established connection was aborted by the software in your host machine. at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at SuperSocket.Channel.TcpPipeChannel1.SendOverIOAsync(ReadOnlySequence1 buffer, CancellationToken cancellationToken) in TcpPipeChannel.cs:line 75 at SuperSocket.Channel.PipeChannel`1.ProcessOutputRead(PipeReader reader, CancellationTokenSource cts) in PipeChannel.cs:line 278

kerryjiang commented 1 year ago

Normal connection abort by the remove client. Should be ignored.

kerryjiang commented 1 year ago

Made a change to ignore it: https://github.com/kerryjiang/SuperSocket/commit/f4f5dcaeffba3cbf1609ea167b4b18c8232f166a