restbed icon indicating copy to clipboard operation
restbed copied to clipboard

WebSocket error on close

Open sgiox opened this issue 7 years ago • 1 comments

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

sgiox avatar Jul 18 '18 07:07 sgiox

Thanks for the detail.

ben-crowhurst avatar Jul 23 '18 09:07 ben-crowhurst