websocket-sharp icon indicating copy to clipboard operation
websocket-sharp copied to clipboard

Stack Overflow on WSS server.

Open HashPong opened this issue 2 years ago • 2 comments

I keep getting Stackoverflow when running a WSS server, the overflow occurs when a user connects immediately. I had this issue for a very long time when using this library. However, it's worth to note that I am not using the latest version of this library, but one from 1-2 months ago. If it's already fixed, then great! What is happening is that when an error is thrown, it throws another error that keeps repeating infinitely. image

HashPong avatar Mar 10 '23 16:03 HashPong

It's about using BeginRead in ReadBytesAsync in Ext.cs. I have workaround it in my branch for now:

https://github.com/michaldobrodenka/websocket-sharp

I had this problem on some android devices + net7.0

michaldobrodenka avatar May 17 '23 09:05 michaldobrodenka