bonsaidb icon indicating copy to clipboard operation
bonsaidb copied to clipboard

Handle graceful websocket disconnects correctly

Open ecton opened this issue 3 years ago • 0 comments

Right now the server and client do not do any of the recommended WebSocket closing procedures. It doesn't really impact the protocol used in PliantDB, but my understanding from doing some research is that if we want to support interacting with WebSockets on the browser, implementing graceful closing will prevent errors from popping up in the browser consoles for expected disconnections.

ecton avatar Apr 14 '21 00:04 ecton