You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.js is meant to call onConnect on line 31 if the WebSocket open event fires. The WebSocket error event is listened to by source.js which on line 41 calls the onConnect callback with this event. This means that functions waiting for connection establishment proceed despite the websocket being in an errored state.
The text was updated successfully, but these errors were encountered:
Actually I suspect this is expected behaviour, looks like js-libp2p (a downstream library I work with) wasn't checking for errors when onConnect is called.
client.js is meant to call onConnect on line 31 if the WebSocket open event fires. The WebSocket error event is listened to by source.js which on line 41 calls the onConnect callback with this event. This means that functions waiting for connection establishment proceed despite the websocket being in an errored state.
The text was updated successfully, but these errors were encountered: