websocket-sharp
websocket-sharp copied to clipboard
Stack Overflow on WSS server.
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.

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