NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

WebSocket: unhandled exception

Open ilsnk opened this issue 2 years ago • 0 comments

I don't know the steps to reproduce, but someone, tell me where to wear a fix?

Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'length')
   at System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray[T](T[] array, Range range)
   at NetCoreServer.WebSocket.PrepareReceiveFrame(Byte[] buffer, Int64 offset, Int64 size)
   at NetCoreServer.TcpSession.ProcessReceive(SocketAsyncEventArgs e)
   at NetCoreServer.TcpSession.OnAsyncCompleted(Object sender, SocketAsyncEventArgs e)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Net.Sockets.SocketAsyncEngine.System.Threading.IThreadPoolWorkItem.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

ilsnk avatar Jun 07 '23 08:06 ilsnk