restbed
restbed copied to clipboard
WebSocket error on close
I'm running the WebSocket example and everything seems to work fine. But everytime that one WebSocket connection is closed by the browser, the error_handler function is triggered on server, so I get these messages:
Sent welcome message to CHpDO368xD40ES3q.
Closed connection to CHpDO368xD40ES3q.
WebSocket Errored 'The file handle supplied is not valid.' for CHpDO368xD40ES3q.
Is this the normal behavior? Is there a way to avoid it?
Tested on Windows 10 64bit with MSVC2015 32-bit
Thanks for the detail.