runtime: SocketAsyncEventArgs Receive data errors

I use SocketAsyncEventArgs pool to receive data in sockets, with bombarding testing and web browser access. Turn off the bombarding tool and use only the web browser access the received data error, debug receive data: bombarding test url:‘/customers?count=1’ web browser test url:‘/employees’ system:ubuntu 16.04 64 dotcore version:2.14,2.15 SocketAsyncEventArgs setbuffer code

#if (NETSTANDARD2_0)
            this.SetBuffer(0, length);
#else
            this.SetBuffer(BufferX.Memory.Slice(0, length));
#endif

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (12 by maintainers)

Most upvoted comments

@IKende, I don’t mean to be nit-picky, but what you shared is compiled binaries and isn’t a small, isolated repro. What I’m hoping to see from you is a small, compilable, standalone piece of C# code that demonstrates the problem, that we can review, run, debug, etc.

Thanks, but can you please share something that’s actually runnable that repros the problem you’re seeing?