monkey2 icon indicating copy to clipboard operation
monkey2 copied to clipboard

SocketStream produces 'No error' error msg at client disconnect

Open Hezkore opened this issue 6 years ago • 0 comments

Calling the blocking method stream.Read on a Stream created from a SocketStream produces socket_recv error! err=0, msg=No error, socket=3628, data=000001107911EB08, size=1 every time a client disconnects.

There doesn't seem to be any real error here, just that the stream can't read anything once it's closed. And you can't really stop it from reading since Read is blocking. It gets quite spammy with a lot of clients coming and going.

Hezkore avatar Oct 10 '18 19:10 Hezkore