LearnBoost/socket.io-client — Issue #359: Client 'close' and 'disconnect' events never fire when server dies
Author: portmanteaufu
Created: 2011-12-27 18:35:16+00:00
State: open

I've written a simple client and server to illustrate the problem I'm experiencing. If the server is killed or interrupted, the client side runs to completion and shuts down without firing the 'close' or 'disconnect' events.

Steps to reproduce:

1. Start server
2. Start client, verify that both sides have completed the handshake
3. Kill the server, note that the client exits at the same time without printing any text from the callbacks.

It's entirely possible that I'm simply misunderstanding the API. I apologize in advance if this is the case.

Thanks for your time and help!