eventObject timeout has a timeout set when it's not expecting a response
gak10100 opened this issue · 0 comments
gak10100 commented
Inside the _processOutboundEvent event Objects are created and a timeout is set. The problem is that a timeout is set for event objects that aren't expecting a response.
socketcluster-client/lib/clientsocket.js
Lines 773 to 781 in f551443
Inside the _flushOutboundBuffer function Event Objects are passed off to the transport object
socketcluster-client/lib/clientsocket.js
Lines 709 to 720 in f551443
but because the event object doesn't have a callback it doesn't add it to the callbackMap
This can lead to the timeout to hang even after the client has disconnected.