openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Socket does not throw errors when there is nothing to read. #458

Closed XertroV closed 4 months ago

XertroV commented 5 months ago

It's possible to accidentally read ahead with a socket if you don't wait for enough available bytes. It would be nice if an error were thrown instead (spent a good while figuring this out)